Skip to content

Commit 674dc91

Browse files
committed
Workaround for s-panferov/awesome-typescript-loader#443 on windows 10
1 parent f2ff3bb commit 674dc91

File tree

7 files changed

+6
-936
lines changed

7 files changed

+6
-936
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
Seed project for TypeScript 2.7 + Angular 5 + Karma / Mocha / Chai + Cypress
44

5-
WIP
6-
7-
5+
WIP

build/webpack.dev.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ module.exports = {
1616
{
1717
test: /\.ts$/,
1818
loaders: [
19-
{
20-
loader: 'awesome-typescript-loader',
21-
options: { configFileName: helpers.root('.', 'tsconfig.json') }
22-
},
19+
'awesome-typescript-loader',
2320
'angular2-template-loader',
2421
'tslint-loader',
2522
]

build/webpack.prod.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ module.exports = {
1616
{
1717
test: /\.ts$/,
1818
loaders: [
19-
{
20-
loader: 'awesome-typescript-loader',
21-
options: { configFileName: helpers.root('.', 'tsconfig.json') }
22-
},
19+
'awesome-typescript-loader',
2320
'angular2-template-loader',
2421
'tslint-loader',
2522
]

build/webpack.test.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ module.exports = {
1010
{
1111
test: /\.ts$/,
1212
loaders: [
13-
{
14-
loader: 'awesome-typescript-loader',
15-
options: { configFileName: helpers.root('.', 'tsconfig.json') }
16-
},
13+
'awesome-typescript-loader',
1714
'angular2-template-loader',
1815
'tslint-loader',
1916
]

cypress/integration/main.spec.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
describe('Kitchen Sink', function () {
22
it('.should() - assert that <title> is correct', function () {
33
cy.visit('http://localhost:9000/');
4-
5-
// Here we've made our first assertion using a '.should()' command.
6-
// An assertion is comprised of a chainer, subject, and optional value.
7-
8-
// https://on.cypress.io/should
9-
// https://on.cypress.io/and
10-
11-
// https://on.cypress.io/title
12-
cy.title().should('include', 'Angular');
13-
// ↲ ↲ ↲
14-
// subject chainer value
4+
cy.title().should('include', 'angular-seed');
155
})
166
});

0 commit comments

Comments
 (0)