зеркало из https://github.com/microsoft/mwt-ds.git
23 строки
536 B
JavaScript
23 строки
536 B
JavaScript
var webpack = require("webpack");
|
|
|
|
module.exports = {
|
|
entry: './src/DecisionService.ts',
|
|
output: {
|
|
filename: './build/DecisionService.js'
|
|
},
|
|
resolve: {
|
|
extensions: ['.Webpack.js', '.web.js', '.ts', '.js', '.tsx']
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.ts(x?)$/,
|
|
exclude: ['./node_modules/'],
|
|
loader: 'ts-loader'
|
|
}
|
|
]
|
|
},
|
|
plugins: [
|
|
new webpack.optimize.UglifyJsPlugin({ minimize: true })
|
|
]
|
|
} |