https://github.com/solidstategroup/webpack-static-site
Webpack setup for a static website
https://github.com/solidstategroup/webpack-static-site
Last synced: 15 days ago
JSON representation
Webpack setup for a static website
- Host: GitHub
- URL: https://github.com/solidstategroup/webpack-static-site
- Owner: SolidStateGroup
- Created: 2018-05-10T08:54:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-25T12:19:52.000Z (almost 8 years ago)
- Last Synced: 2025-02-28T15:14:57.827Z (over 1 year ago)
- Language: JavaScript
- Size: 114 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Static
A minimal setup for writing a static site, includes cache busting, minification, es6 Support and Sass with Webpack.
``npm i``
## Web Development
You'll need nodemon to run in development mode
```npm i nodemon -g```
```npm run dev```
## Web Build for production
```npm start```
This will bundle and deploy files to /build which can be run with pretty much any server setup.
**/webpack**
Webpack configs are used in our package.json scripts to either bundle our app for development or deploy minified/cachebusted files to **/build** to be used in production.