Skip to content

Commit 224c92f

Browse files
Create a compiled release package
1 parent 2f58d37 commit 224c92f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.changeset/funny-monkeys-grin.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@qwik.dev/partytown': minor
3+
---
4+
5+
feat: Creates a compiled release of the lib directory.
6+
7+
This creates a compiled release of the `lib` directory for use by integration builders and HTML-only developers.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ node_modules/
2424
.idea
2525
.history
2626
tests/integrations/load-scripts-on-main-thread/snippet.js
27+
lib.tar.gz

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
],
6262
"scripts": {
6363
"build": "tsc && rollup -c scripts/rollup.config.js",
64-
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configReleaseBuild",
64+
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configReleaseBuild && tar -zcvf lib.tar lib && gzip lib.tar",
6565
"build.site": "cd docs && npm i && npm run build",
6666
"build.watch": "rollup -c scripts/rollup.config.js -w --configDev",
6767
"change": "changeset",

0 commit comments

Comments
 (0)