Use import/export instead of references. Use webpack instead of tsc.

This commit is contained in:
József Farkas
2016-04-19 22:35:16 +02:00
parent 4a950283b3
commit 07cc4cef2f
44 changed files with 252 additions and 92 deletions

View File

@@ -0,0 +1,32 @@
// var webpack = require("webpack");
module.exports = {
entry: {
main: './test-serializer.ts'
},
target: 'node',
output: {
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 })
],
node: {
fs: "empty"
}
}