Skip to content

Commit

Permalink
removed ts-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Ofigelov committed Nov 9, 2020
1 parent f056359 commit 1156955
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion demo/dist/dc.min.js

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

2 changes: 1 addition & 1 deletion demo/dist/dc.min.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-object-assign": "7.10.3",
"@babel/preset-env": "7.10.3",
"@babel/preset-typescript": "7.10.1",
"@babel/preset-typescript": "7.12.1",
"@babel/runtime-corejs3": "7.12.1",
"babel-loader": "8.1.0",
"clean-webpack-plugin": "3.0.0",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"experimentalDecorators": true, // Enables experimental support for ES decorators
"noEmit": true,
"outDir": "",
"typeRoots": [
"node_modules/@types"
Expand Down
13 changes: 0 additions & 13 deletions webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,6 @@ module.exports = (env, argv) => {
loaders: [
{
loader: 'babel-loader'
},
{
loader: 'thread-loader',
options: {
// there should be 1 cpu for the fork-ts-checker-webpack-plugin
workers: require('os').cpus().length - 1
}
},
{
loader: 'ts-loader',
options: {
happyPackMode: true // for thread-loader
}
}
]
}
Expand Down

0 comments on commit 1156955

Please sign in to comment.