Last active
December 28, 2020 20:04
-
-
Save trapcodeio/f02595c907ba3d3e5fe15d9f0dcd7af3 to your computer and use it in GitHub Desktop.
Vue use custom tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
chainWebpack: config => { | |
config | |
.plugin('fork-ts-checker') | |
.tap(args => { | |
args[0].tsconfig = './path/to/tsconfig.json'; | |
return args; | |
}); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment