Skip to content

Commit

Permalink
chore: fix tsup build by bundling all dependencies and externalize ty…
Browse files Browse the repository at this point in the history
…pescript
  • Loading branch information
Julien-R44 committed Aug 20, 2022
1 parent 4cbbc79 commit b6f7e81
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
external: ['vscode'],
external: ['vscode', 'typescript'],
format: ['cjs'],
shims: false,
noExternal: [
'@poppinss/module-methods-extractor',
'docblock',
'fast-glob',
'lodash.groupby',
'vscode-ext-help-and-feedback-view',
'vscode-html-languageservice',
'vscode-languageserver-types',
],
})

0 comments on commit b6f7e81

Please sign in to comment.