https://github.com/patrickjs/angular2-webpack
Webpack helpers for Angular 2 via @AngularClass
https://github.com/patrickjs/angular2-webpack
Last synced: 9 months ago
JSON representation
Webpack helpers for Angular 2 via @AngularClass
- Host: GitHub
- URL: https://github.com/patrickjs/angular2-webpack
- Owner: PatrickJS
- Created: 2016-06-20T19:12:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T17:29:53.000Z (over 9 years ago)
- Last Synced: 2024-05-02T05:56:02.190Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Angular 2 Webpack
```es6
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)
]
}
```