Created
May 16, 2017 12:58
-
-
Save timse/11e5d62b49fa0eef6ff7d62643fca7d3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// webpack.config.js | |
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = { | |
entry: { | |
main: './src/foo', | |
}, | |
output: { | |
path: path.join(__dirname, 'dist'), | |
filename: '[name].[hash].js', | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment