Skip to content

Commit

Permalink
refactor(component-meta): APIs reborn (#3697)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk authored Oct 31, 2023
1 parent 3cd2fd4 commit 03a9f11
Show file tree
Hide file tree
Showing 8 changed files with 911 additions and 881 deletions.
5 changes: 1 addition & 4 deletions extensions/vscode/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ require('esbuild').context({
bundle: true,
metafile: process.argv.includes('--metafile'),
outdir: './dist',
external: [
'vscode',
'typescript', // vue-component-meta
],
external: ['vscode'],
format: 'cjs',
platform: 'node',
tsconfig: './tsconfig.json',
Expand Down
5 changes: 3 additions & 2 deletions packages/component-meta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@volar/typescript": "~1.10.9",
"@vue/language-core": "1.8.22",
"typesafe-path": "^0.2.2",
"path-browserify": "^1.0.1",
"vue-component-type-helpers": "1.8.22"
},
"peerDependencies": {
Expand All @@ -27,6 +27,7 @@
}
},
"devDependencies": {
"@types/node": "latest"
"@types/node": "latest",
"@types/path-browserify": "latest"
}
}
Loading

0 comments on commit 03a9f11

Please sign in to comment.