1
0
Форкнуть 0
ej2-showcase-ts-expensetracker/webpack.config.js

28 строки
624 B
JavaScript
Исходник Постоянная ссылка Обычный вид История

2018-03-07 14:56:06 +03:00
var fs = require('fs');
var glob = require('glob');
var webpack = require('webpack');
var path = require('path');
module.exports = {
entry: {
js: glob.sync("./src/**/*.js"),
},
output: {
path: __dirname + '/',
filename: "./dist/common.js"
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: true,
dead_code: true,
unused: true
},
output: {
beautify: true,
comments: false
},
sourceMap: true
})
]
}