- Run
npm install - Run
npm run build - Edit the
example.txtfile - Run
npm run buildagain. Notice that the output CSS (dist/main.css) contains the old contents ofexample.txt. This is becauseexample.txtwas not registered as a dependency. - Now uncomment lines 37-42 of
webpack.config.js. This registers the dependency. - Run
npm run build - Edit the
example.txtfile - Run
npm run buildagain. Notice that the output CSS (dist/main.css) has updated correctly this time.
bradlc/postcss-webpack5
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|