- ES6, SASS
- build with official recommendations from webpack and babel
- no flux included - use one that you prefer
- no build-in-js styles and other resources, separate files used
and also...
- clear package.json - just react libs in dependencies and no unused libs in devDependencies
- no mess with npm scripts - just
npm start
for development andnpm run build
for building production content - script just copy additional resources from static folder - no pain with adding fonts, images, etc.
- default HMR in development mode for js and styles as well
- no production node server included - use one that you prefer
- webpack builder does not use NODE_ENV variables - do not worry about this
- no test included - you may add them later
> git clone https://github.com/gzoreslav/the-simplest-webpack-react-starter-kit.git
> cd the-simplest-webpack-react-starter-kit
> npm install
> npm start
It compiles the code in development mode (source-map files, HMR) and opens browser tab. You do not need to re-run start script when you make a changes - code will be re-compiled automatically.
> npm run build
It compiles the code in production mode (no source-map files, minify and uglify js files) and put all files in dist folder. Just copy the folder content to the server.
This software is distributed under an MIT licence.
Copyright 2017 © Zoreslav Goral