1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/webpack.config.js

28 lines
504 B
JavaScript
Raw Normal View History

// docs: http://webpack.github.io/docs/configuration.html
module.exports = {
context: __dirname + '/public',
2014-10-30 18:25:38 +01:00
entry: './js/app',
output: {
path: __dirname + '/public/js',
filename: 'bundle.js',
publicPath: '/js/'
},
resolve: {
extensions: ['', '.js', '.jsx']
},
module: {
loaders: [
{ test: /\.jsx$/, loader: 'jsx' }
]
},
externals: {
// stuff not in node_modules can be resolved here.
}
};