Files
old-krovovi-kalkulator/webpack.config.js

26 lines
696 B
JavaScript
Raw Normal View History

2017-11-07 09:23:57 +01:00
var webpack = require('webpack');
module.exports = {
entry: './helix/javascript/array_summary/index.js',
output: {
path: './helix/static/javascripts/',
filename: 'array_summary_bundle.js'
},
//devtool: 'source-map',
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader'
},
{
// That will tell Webpack that EaselJS refers to `window` with `this` and exports `window.createjs`.
test: /easeljs\.js$/,
loader: 'imports?this=>window!exports?window.createjs'
}
]
}
};