https://github.com/chambrin/webpack-starter
kit simple webpack
https://github.com/chambrin/webpack-starter
Last synced: 2 months ago
JSON representation
kit simple webpack
- Host: GitHub
- URL: https://github.com/chambrin/webpack-starter
- Owner: chambrin
- License: mit
- Created: 2022-02-10T08:03:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T05:05:08.000Z (over 3 years ago)
- Last Synced: 2026-04-04T07:32:52.339Z (2 months ago)
- Language: JavaScript
- Size: 1.01 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Webpack Frontend Starterkit
[](https://dependabot.com/)
A lightweight foundation for your next webpack based frontend project.
### Installation
```sh
npm install
```
### Start Dev Server
```sh
npm start
```
### Build Prod Version
```sh
npm run build
```
### Features:
- ES6 Support via [babel](https://babeljs.io/) (v7)
- JavaScript Linting via [eslint](https://eslint.org/)
- SASS Support via [sass-loader](https://github.com/jtangelder/sass-loader)
- Autoprefixing of browserspecific CSS rules via [postcss](https://postcss.org/) and [postcss-preset-env](https://github.com/csstools/postcss-preset-env)
- Style Linting via [stylelint](https://stylelint.io/)
When you run `npm run build` we use the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to move the css to a separate file. The css file gets included in the head of the `index.html`.