A simple webpack seed for static HTML sites with SCSS.
- Clone the repository
git clone https://github.com/nerkat/webpack-seed.git
- Install dependencies
npm install
- Start the development server
npm run start
- Build for production
npm run build
webpack-seed/
├── src/
│ ├── index.html
│ ├── script/
│ │ ├── index.js
│ │ └── comps/
│ ├── style/
│ │ ├── index.scss
│ │ ├── base/
│ │ └── comps/
│ └── assets/
│ ├── fonts/
│ └── images/
│ └── favicon/
└── webpack.config.js
Runs the development server
npm start
Runs webpack in development mode with watch mode on
npm run watch
Runs webpack in production mode
npm run build
- clean-webpack-plugin
- css-loader
- file-loader
- mini-css-extract-plugin
- sass
- sass-loader
- webpack-dev-server
- Dev Dependencies
- html-loader
- html-webpack-plugin
- image-webpack-loader
- webpack
- webpack-cli
This project is licensed under the ISC License.
Report bugs at https://github.com/nerkat/webpack-seed/issues.