Created
July 21, 2018 16:11
-
-
Save AdamRamberg/6362d859c2f17063fc38dd3d48a5442b to your computer and use it in GitHub Desktop.
react-from-scratch webpack.prod.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const plugins = []; | |
module.exports = require('./webpack.base')({ | |
mode: 'production', | |
devServer: { | |
port: 3000, | |
contentBase: path.join(process.cwd(), 'dist/'), | |
}, | |
plugins, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment