Skip to content

Commit

Permalink
fix: pass ts to ts-loader before babel
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jun 30, 2023
1 parent 6b5909c commit d3ae19e
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 1 deletion.
175 changes: 175 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.4",
"vue": "^2.7.13",
"vue-loader": "^15.10.0",
"vue-template-compiler": "^2.7.13",
Expand All @@ -49,6 +50,7 @@
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.4",
"vue-loader": "^15.10.0",
"vue-template-compiler": "^2.7.13",
"webpack": "^5.74.0",
Expand Down
5 changes: 4 additions & 1 deletion rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
},
RULE_TS: {
test: /\.tsx?$/,
loader: 'babel-loader',
use: [
'babel-loader',
'ts-loader',
],
exclude: /node_modules/,
},
RULE_ASSETS: {
Expand Down

0 comments on commit d3ae19e

Please sign in to comment.