Skip to content

Commit e47bcfd

Browse files
author
borysn
committed
angular v2.0.0 updates, webpack upgrade
1 parent f74cdb2 commit e47bcfd

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

frontend/config/webpack.common.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ module.exports = {
8181
postcss: [autoprefixer],
8282

8383
plugins: [
84+
new webpack.ContextReplacementPlugin(
85+
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
86+
__dirname
87+
),
8488
new ExtractTextPlugin({
8589
filename: 'css/[name].css',
8690
disable: false, allChunks: true

frontend/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,25 @@
3535
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
3636
},
3737
"dependencies": {
38-
"@angular/common": "2.0.0-rc.6",
39-
"@angular/compiler": "2.0.0-rc.6",
40-
"@angular/core": "2.0.0-rc.6",
41-
"@angular/forms": "2.0.0-rc.6",
42-
"@angular/http": "2.0.0-rc.6",
43-
"@angular/platform-browser": "2.0.0-rc.6",
44-
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
45-
"@angular/platform-server": "2.0.0-rc.6",
46-
"@angular/router": "3.0.0-rc.2",
38+
"@angular/common": "2.0.0",
39+
"@angular/compiler": "2.0.0",
40+
"@angular/core": "2.0.0",
41+
"@angular/forms": "2.0.0",
42+
"@angular/http": "2.0.0",
43+
"@angular/platform-browser": "2.0.0",
44+
"@angular/platform-browser-dynamic": "2.0.0",
45+
"@angular/platform-server": "2.0.0",
46+
"@angular/router": "3.0.0",
4747
"bootstrap": "4.0.0-alpha.4",
4848
"core-js": "^2.4.1",
4949
"font-awesome": "^4.6.3",
5050
"jquery": "^3.1.0",
5151
"lodash": "^4.15.0",
5252
"moment": "^2.15.0",
53-
"ng2-bootstrap": "^1.1.2",
53+
"ng2-bootstrap": "^1.1.4",
5454
"rxjs": "5.0.0-beta.12",
5555
"tether": "^1.3.7",
56-
"zone.js": "^0.6.21"
56+
"zone.js": "^0.6.23"
5757
},
5858
"devDependencies": {
5959
"@types/jasmine": "^2.2.33",
@@ -74,11 +74,11 @@
7474
"extract-text-webpack-plugin": "^2.0.0-beta.3",
7575
"file-loader": "^0.9.0",
7676
"font-awesome-sass-loader": "^1.0.2",
77-
"html-loader": "^0.4.3",
77+
"html-loader": "^0.4.4",
7878
"html-webpack-plugin": "^2.22.0",
7979
"http-server": "^0.9.0",
8080
"imports-loader": "^0.6.5",
81-
"istanbul-instrumenter-loader": "^0.2.0",
81+
"istanbul-instrumenter-loader": "^1.0.0",
8282
"jasmine-core": "^2.5.1",
8383
"json-loader": "^0.5.4",
8484
"karma": "^1.3.0",
@@ -88,7 +88,7 @@
8888
"karma-mocha-reporter": "^2.1.0",
8989
"karma-sourcemap-loader": "^0.3.7",
9090
"karma-webpack": "^1.8.0",
91-
"node-sass": "^3.9.3",
91+
"node-sass": "^3.10.0",
9292
"postcss-loader": "^0.13.0",
9393
"raw-loader": "^0.5.1",
9494
"remap-istanbul": "^0.6.4",
@@ -105,8 +105,8 @@
105105
"tslint-loader": "^2.1.5",
106106
"typescript": "2.0.0",
107107
"url-loader": "^0.5.7",
108-
"webpack": "^2.1.0-beta.21",
109-
"webpack-dev-server": "^2.1.0-beta.0",
108+
"webpack": "^2.1.0-beta.22",
109+
"webpack-dev-server": "^2.1.0-beta.4",
110110
"webpack-merge": "^0.14.1"
111111
}
112-
}
112+
}

0 commit comments

Comments
 (0)