Skip to content

Commit

Permalink
Update build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 20, 2024
1 parent 38eddf3 commit 0c285d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extensions/vscode/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// @ts-check
const path = require('path');
const fs = require('fs');
const treeShake = require('@kermanx/tree-shaker').treeShake;
const esbuild = require('esbuild');
const { treeShake } = require('@kermanx/tree-shaker');
const minify = process.argv.includes('--minify');

require('esbuild').context({
esbuild.context({
entryPoints: {
'dist/client': './out/nodeClientMain.js',
'dist/server': './node_modules/@vue/language-server/bin/vue-language-server.js',
Expand Down

0 comments on commit 0c285d9

Please sign in to comment.