1.0.1 • Published 8 years ago
angular2-webpack v1.0.1
Angular 2 Webpack
var path = require('path');
var ng2webpack = require('angular2-webpack');
var srcPath = path.join(__dirname + 'src');
module.exports = {
module: {
preLoaders: [
ng2webpack.loaders()
]
},
plugins: [
ng2webpack.plugins(srcPath)
]
}