Bundle your multipage application assets with this webpack configuration.
This configuration is proper for building multipage web application frontend. You can write your BEM blocks with the associated assets under the /dev/blocks/ directory and include them in /dev/pages/ wherever you need them. Anything related to a single block should be included under it's own directory.
The configuration is capable of:
- Transpile ES5+ to ES5.
- Transpile SCSS to CSS.
- Built in eslint with airbnb-base.
- Node.js - Fresh version of Node.js.
To install the latest release version with npm, run the following command:
npm install @adamtagscherer/webpack-multipage
To start the application in development mode, run:
npm run start
To run in production:
npm run build