tripleo-ui/webpack.config.js
Jiri Tomasek eb2c692845 Upgrade Babel, Webpack and Lodash to latest versions
Change-Id: I0999cc9550260f3e94101eb586fe2a5d3202de45
2016-03-07 15:10:51 +01:00

26 lines
457 B
JavaScript

module.exports = {
devtool: 'source-map',
output: {
filename: 'tripleo_ui.js',
sourceMapFilename: '../js/tripleo_ui.js.map'
},
module: {
loaders: [
{
test: /\.js$/,
include: /src/,
exclude: /src\/js\/workers/,
loader: 'babel-loader',
query: {
presets: ['es2015', 'stage-0', 'react']
}
}
]
},
node: {
fs: 'empty',
net: 'empty',
tls: 'empty'
}
};