Skip to content

Commit

Permalink
fix(typescript-build): wrong path for dependency (nuxt#464)
Browse files Browse the repository at this point in the history
resolves nuxt#145
  • Loading branch information
IGassmann authored and Geminii committed Jan 20, 2021
1 parent 144d6d4 commit 0c4e3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-build/src/index.ts
Expand Up @@ -73,7 +73,7 @@ const tsModule: Module<Options> = function (moduleOptions) {
))

if (options.typeCheck && isClient && !isModern) {
const ForkTsCheckerWebpackPlugin = require(this.nuxt.resolver.resolveModule('fork-ts-checker-webpack-plugin'))
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
config.plugins!.push(new ForkTsCheckerWebpackPlugin(Object.assign({
typescript: {
configFile: path.resolve(this.options.rootDir!, 'tsconfig.json'),
Expand Down

0 comments on commit 0c4e3e3

Please sign in to comment.