Skip to content

Commit

Permalink
fix: Reduce the size of the Extension
Browse files Browse the repository at this point in the history
Use `tsup` to build the extension.
  • Loading branch information
Jason3S committed Dec 24, 2024
1 parent a1419a1 commit 4d0512f
Show file tree
Hide file tree
Showing 7 changed files with 427 additions and 10 deletions.
1 change: 0 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
!node_modules/regexp-worker/lib/**/*.js

# All Other Client and Server files.
!packages/_server/dist/api.js
!packages/_server/dist/main.cjs
!packages/_server/package.json

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default tsEslint.config(
},
},
{
files: ['**/*.test.*', '**/__mocks__/**', '**/test/**', '**/test.*', '**/rollup.config.mjs', '**/build.mjs'],
files: ['**/*.test.*', '**/__mocks__/**', '**/test/**', '**/test.*', '**/rollup.config.mjs', '**/build.mjs', '**/tsup.config.*'],
rules: {
'n/no-extraneous-require': 'off', // Mostly for __mocks__ and test files
'n/no-extraneous-import': 'off',
Expand Down
Loading

0 comments on commit 4d0512f

Please sign in to comment.