Created
April 21, 2019 02:35
-
-
Save kolserdav/aef0fd2eb4ed0fa502f5ffb755131ac7 to your computer and use it in GitHub Desktop.
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'); | |
module.exports = { | |
entry: ["./js/module.js"], | |
mode: 'development', | |
output: { | |
path: path.resolve(__dirname + './../../public/dist'), | |
filename: 'bundle.js' | |
}, | |
module: { | |
rules: [ | |
{ | |
test: /\.json$/, | |
loader: 'json-loader' | |
} | |
] | |
}, | |
watch : true | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment