mirror of
https://github.com/novuhq/novu.git
synced 2026-03-13 10:41:26 +08:00
fix(react-native): Do not create a tarball locally during build
This commit is contained in:
@@ -17,11 +17,23 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/client/index.d.mts",
|
||||
"default": "./dist/client/index.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/client/index.d.ts",
|
||||
"default": "./dist/client/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build:watch": "tsup --watch",
|
||||
"build": "tsup && pnpm run check-exports",
|
||||
"build": "tsup && pnpm run check:exports",
|
||||
"lint": "eslint src",
|
||||
"check-exports": "attw --pack .",
|
||||
"check:exports": "attw --pack .",
|
||||
"release:preview": "pnpx pkg-pr-new publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -9,5 +9,7 @@ export default defineConfig([
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
dts: true,
|
||||
treeshake: false,
|
||||
bundle: false,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user