Skip to content
This repository was archived by the owner on Dec 30, 2019. It is now read-only.

Commit 9e46b4a

Browse files
committed
Finally working ... typo on exclude clause...
1 parent fac84e4 commit 9e46b4a

File tree

4 files changed

+3
-31
lines changed

4 files changed

+3
-31
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@
8383
}
8484
},
8585
"lint-staged": {
86-
"*.ts": [
86+
"src/**/*.ts": [
8787
"vue-cli-service lint --fix",
8888
"prettier --write",
8989
"git add"
9090
],
91-
"*.vue": [
91+
"src/**/*.vue": [
9292
"vue-cli-service lint --fix",
9393
"stylelint",
9494
"prettier --write",

tests/e2e/specs/test.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// https://docs.cypress.io/api/introduction/api.html
22
/// <reference types="cypress"/>
33

4-
/// <reference types="cypress"/>
5-
64
describe("My First Test", () => {
75
it("Visits the app root url", () => {
86
cy.visit("/");

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
"exclude": [
4949
"node_modules",
5050
"build",
51-
"test/e2e"
51+
"tests/e2e"
5252
]
5353
}

vue.config.js

-26
Original file line numberDiff line numberDiff line change
@@ -84,32 +84,6 @@ module.exports = {
8484
return args;
8585
})
8686
;
87-
88-
// Disable fork-ts-checker and switch ts-loader to also perform type checking.
89-
// Some optimizations are not applied otherwise, thus...
90-
// Unluckily, this means that we cannot use thread-loader for this ...
91-
config
92-
.plugins
93-
.delete("fork-ts-checker");
94-
95-
config
96-
.module
97-
.rule("ts")
98-
.uses
99-
.delete("thread-loader");
100-
101-
config
102-
.module
103-
.rule("ts")
104-
.use("ts-loader")
105-
.options({
106-
transpileOnly: false,
107-
appendTsSuffixTo: [
108-
"\\.vue$"
109-
],
110-
happyPackMode: false,
111-
allowTsInNodeModules: true
112-
});
11387
});
11488
}
11589
};

0 commit comments

Comments
 (0)