Skip to content

Instantly share code, notes, and snippets.

@trapcodeio
Last active December 28, 2020 20:04
Show Gist options
  • Save trapcodeio/f02595c907ba3d3e5fe15d9f0dcd7af3 to your computer and use it in GitHub Desktop.
Save trapcodeio/f02595c907ba3d3e5fe15d9f0dcd7af3 to your computer and use it in GitHub Desktop.
Vue use custom tsconfig.json
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