Skip to content

Commit

Permalink
fix: remove extraneous items from final package
Browse files Browse the repository at this point in the history
fix: minify production package

chore: tweak tests to check for "full" parse

Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Jan 7, 2025
1 parent 3fed76c commit 2025331
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 198 deletions.
7 changes: 6 additions & 1 deletion .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
".": "0.0.0"
"packages": {
".": {
"releaseType": "node",
"versioningStrategy": "node"
}
}
}
14 changes: 14 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Ignore everything
*
*/**

# Whitelist required files
!dist*/**/*
!resources/**/*

!.vscodeignore
!CHANGELOG.md
!LICENSE
!package.json
!package.*.json
!README.md
2 changes: 1 addition & 1 deletion esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main(tsconfigRaw, entryPoint, platform, format, plugins = []) {
outdir: outputDirectory,
bundle: true,
format,
minify: false, //production,
minify: production,
sourcemap: !production ? "linked" : false,
platform,
target: platform === "node" ? "node20" : "es2022",
Expand Down
Loading

0 comments on commit 2025331

Please sign in to comment.