Skip to content

Optimize build #551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 28, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
package under 1mb
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
ShMcK committed Nov 28, 2021
commit 63f1c96619b792a97fa9db3b2d94913c8eb5c7d4
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
.vscode-test/**
vsc-extension-quickstart.md

## Modules
node_modules/**

## TypeScript
**/tsconfig.json
**/tslint.json
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ OUTPUT_FILE=coderoad-$PACKAGE_VERSION.vsix
echo "Creating $OUTPUT_FILE..."

echo "Building..."
GENERATE_SOURCEMAP=false # reduces output size by 5mb+
export GENERATE_SOURCEMAP=false # reduces output size by 5mb+
yarn build
npm run esbuild-base -- --minify

Expand Down