Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeachco/webpack-production-setup
a webpack 2 build pipeline focused on production performance and simplicity
https://github.com/zeachco/webpack-production-setup
bootstrap4 build-system hot-reloading production productivity-tools react react-redux sass simplicity webpack2
Last synced: 1 day ago
JSON representation
a webpack 2 build pipeline focused on production performance and simplicity
- Host: GitHub
- URL: https://github.com/zeachco/webpack-production-setup
- Owner: zeachco
- License: mit
- Created: 2017-02-19T06:04:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-20T16:45:09.000Z (over 7 years ago)
- Last Synced: 2024-10-27T19:27:04.834Z (about 2 months ago)
- Topics: bootstrap4, build-system, hot-reloading, production, productivity-tools, react, react-redux, sass, simplicity, webpack2
- Language: JavaScript
- Size: 182 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webpack-production-setup
a webpack 2 build pipeline focused on production performance and simplicity## Use this template
```bash
git clone [email protected]:zeachco/webpack-production-setup.git ./my-project
cd my-project
yarn install # or npm install
npm start # dev server
npm run build #creates a production ready build
```## Or abstract the files from the structure (still working on it, might not work everwhere)
From your project, run `npm install -D webpack-production-setup` then
in your `webpack.config.js` write
```javascript
module.exports = require('wpps/webpack.config.js');
```
Or you can mutate the config from here too
```javascript
const wppsConfig = require('wpps/webpack.config.js');
wppsConfig.plugins.push(/* my own plugins */);
wppsConfig.devtool = 'cheap-module-eval-source-map';
module.exports = wppsConfig;
```