Skip to content

Commit

Permalink
Update tsup.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Nov 6, 2024
1 parent 81dc4e0 commit f3b43c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extensions/vscode/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ export default defineConfig([
name: 'schemas',
setup(build) {
build.onEnd(() => {
if (!fs.existsSync(path.resolve(__dirname, './dist/schemas'))) {
fs.mkdirSync(path.resolve(__dirname, './dist/schemas'), { recursive: true });
}
fs.cpSync(
path.resolve(__dirname, './node_modules/@vue/language-core/schemas/vue-tsconfig.schema.json'),
path.resolve(__dirname, './dist/schemas/vue-tsconfig.schema.json'),
{ recursive: true },
);
});
},
Expand Down

0 comments on commit f3b43c3

Please sign in to comment.