Last active
March 8, 2018 09:49
-
-
Save fakiolinho/8c8bda667b58196b4edfb149d89bc40f 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
const { resolve } = require('path'); | |
module.exports = { | |
context: resolve(__dirname, '../'), | |
entry: ['babel-polyfill', './app/js/main.js'], | |
resolve: { | |
extensions: [ | |
'*', '.js', '.jsx', | |
], | |
modules: [ | |
resolve(__dirname, '../app'), | |
'node_modules', | |
], | |
}, | |
output: { | |
filename: '[name]-[hash:6].js', | |
path: resolve(__dirname, '../build'), | |
publicPath: '/', | |
}, | |
module: { | |
rules: [ | |
... | |
], | |
}, | |
plugins: [ | |
... | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment