All static assets live in subdirectories of
Everything is compiled together using webpack module bundler.
The resulting files are written to
/saleor/static/assets/ and should not be edited manually.
During development it’s very convenient to have webpack automatically track changes made locally. This will also enable source maps that are extremely helpful when debugging.
To run webpack in watch mode run:
Files produced this way are not ready for production use. To prepare static assets for deployment run:
npm run build-assets --production