Created
July 8, 2015 11:27
-
-
Save halfninja/76a12bb29b399f2dffaa 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
module.exports = { | |
cache: true, | |
devtool: 'source-map', | |
entry: './app/assets/js/main.js', | |
output: { | |
filename: './target/web/public/main/js/bundle.js' | |
}, | |
resolve: { | |
extensions: ['', '.js', '.sjs'], | |
fallback: __dirname | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.js?$/, | |
exclude: /(node-modules|webjars|node_modules|bower_components)/, | |
loader: 'babel' | |
} | |
] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment