nmdc-webfrontend/webpack.config.js
2017-11-10 20:38:47 +13:00

21 lines
441 B
JavaScript

var webpack = require("webpack");
module.exports = {
entry: "./client/dcwebui.js",
output: {
path: __dirname,
filename: "clientpack/bundle.js"
},
module: {
loaders: [
{ test: /\.css$/, loader: "style-loader!css-loader" }
]
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
}
})
]
};