The dev bundle is used to generate this configuration. See the Dev Bundle docs for more information.
Run the following command to create a new asset pipeline:
Your project directory will now contain the following files:
In summary: webpack builds asset sources from
asset-paths.js to resolve paths and entrypoints, and places them in
You should commit most of these files to version control, excluding
vendor/ (composer packages),
node_modules/ (npm packages), and
asset-paths.js (generated by Perform automatically).
To build the assets, clear the cache and run webpack:
./bin/console cache:clear # generates asset-paths.js npm install # or use yarn npm run build # runs webpack, task defined in package.json