Skip to content

Commit ea4a6fc

Browse files
author
Vlad Sternbach
committed
finished setup with webpack
1 parent 0b407bb commit ea4a6fc

22 files changed

+6662
-304
lines changed

app/app.css

-178
This file was deleted.

app/components/comment.scss

-68
This file was deleted.

config.js

-34
This file was deleted.

package.json

+12-7
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,26 @@
66
"repository": "https://github.com/angular/angular-seed",
77
"license": "MIT",
88
"devDependencies": {
9-
"http-server": "^0.6.1",
10-
"plugin-sass": "github:mobilexag/plugin-sass",
9+
"awesome-typescript-loader": "^0.17.0-rc.4",
10+
"css-loader": "^0.23.1",
11+
"node-sass": "^3.4.2",
12+
"sass-loader": "^3.2.0",
13+
"style-loader": "^0.13.1",
14+
"ts-loader": "^0.8.1",
1115
"typescript": "^1.8.9",
12-
"typings": "^0.7.11"
16+
"typings": "^0.7.11",
17+
"webpack": "^1.12.14",
18+
"webpack-dev-server": "^1.14.1"
1319
},
1420
"dependencies": {
1521
"angular": "^1.5.3",
1622
"angular-sanitize": "^1.5.3",
1723
"angular-ui-router": "^0.2.18",
18-
"bootstrap-sass": "^3.3.6",
19-
"systemjs": "^0.19.25"
24+
"bootstrap-sass": "^3.3.6"
2025
},
2126
"scripts": {
2227
"prestart": "npm install",
23-
"start": "http-server -a localhost -p 8000 -c-1",
24-
"pretest": "npm install"
28+
"start": "webpack-dev-server --hot",
29+
"bundle": "cp src/index.html dist/ & webpack -p ./dist/bundle.js"
2530
}
2631
}

app/edit.svg src/assets/edit.svg

File renamed without changes.

app/components/comment.component.ts src/components/comment.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* Created by voland on 4/2/16.
33
*/
4-
import Component from '../decorators';
5-
//import 'comment.scss!sass';
4+
import Component from 'decorators';
5+
import 'components/comment.scss';
66

77
@Component('app.components', 'comment', {
88
template: `

0 commit comments

Comments
 (0)