Add webpack dev server
This commit is contained in:
@@ -7,6 +7,10 @@ module.exports = {
|
||||
output: {
|
||||
filename: './javascripts/app.js'
|
||||
},
|
||||
devServer: {
|
||||
contentBase: path.resolve(__dirname, 'public'),
|
||||
port: 3000
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
__VERSION__: JSON.stringify(require('./package.json').version)
|
||||
|
||||
Reference in New Issue
Block a user