Skip to content

Commit

Permalink
fix: ForkTsCheckerWebpackPlugin options #44
Browse files Browse the repository at this point in the history
  • Loading branch information
oklas committed Dec 16, 2021
1 parent 4e04f6e commit 2e131c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/aliasDangerous.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ function expandPluginsTsChecker(plugins, configPath) {
...(opts.compilerOptions || {}),
paths,
}
const options = {...opts, compilerOptions}
const options = {
...opts,
typescript: {
...opts.typescript,
configOverwrite: compilerOptions,
}
}
plugins[pluginPos] = new Consructor(options)
}
}
Expand Down

0 comments on commit 2e131c6

Please sign in to comment.