eb2c692845
Change-Id: I0999cc9550260f3e94101eb586fe2a5d3202de45
26 lines
457 B
JavaScript
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'
|
|
}
|
|
};
|