Folder restructuring (#86)
This commit is contained in:
35
test-serializer/webpack.config.js
Normal file
35
test-serializer/webpack.config.js
Normal file
@@ -0,0 +1,35 @@
|
||||
// var webpack = require("webpack");
|
||||
var webpackFailPlugin = require('webpack-fail-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
main: __dirname + '/test-serializer.ts'
|
||||
},
|
||||
target: 'node',
|
||||
output: {
|
||||
path: __dirname,
|
||||
filename: "test-serializer.js"
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.webpack.js', '.web.js', '.ts', '.js'],
|
||||
alias: {
|
||||
|
||||
},
|
||||
modulesDirectories: [
|
||||
'../node_modules'
|
||||
]
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.ts$/, loader: 'ts-loader', exclude: /node_modules/ }
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
// new webpack.optimize.UglifyJsPlugin({ minimize: true }),
|
||||
webpackFailPlugin
|
||||
],
|
||||
node: {
|
||||
fs: "empty"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user