Skip to content

Commit a189078

Browse files
committed
Fix react-stately monopackage build script
1 parent 0778f71 commit a189078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-stately/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"sideEffects": false,
1414
"scripts": {
15-
"prepublishOnly": "mkdir -p dist; cp src/index.ts dist/types.d.ts; cp src/index.ts dist/module.js; babel --root-mode upward src/index.ts -o dist/main.js"
15+
"prepublishOnly": "mkdir -p dist; cp src/index.ts dist/types.d.ts; grep -v '^export type' src/index.ts > dist/module.js; babel --root-mode upward src/index.ts -o dist/main.js"
1616
},
1717
"repository": {
1818
"type": "git",

0 commit comments

Comments
 (0)