i399exng1ts/webpack.config.js

30 lines
487 B
JavaScript

var path = require('path');
module.exports = {
entry: {
app: './app/app.ts'
},
output: {
path: path.resolve(__dirname, 'build'),
publicPath: '/build/',
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.ts$/,
loader: 'awesome-typescript-loader'
}
],
exprContextCritical: false
},
resolve: {
extensions: ['.js', '.ts']
}
};