Skip to content

Commit 9f68c05

Browse files
HansBrendemolefrog
authored andcommitted
fix warnings
1 parent 2102a1d commit 9f68c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"lint-types-preact": "npm run preact && npm run types-preact && dtslint preact/types/ts4.1 --localTs ./node_modules/typescript/lib && dtslint preact/types/ts3.9.4 --localTs ./node_modules/typescript-3.9.4/lib",
7171
"preact": "copyfiles -f {index,matcher,use-location,static-location}.js preact/",
7272
"types-preact": "copyfiles -f types/{matcher,use-location,static-location}.d.ts preact/types",
73-
"bundle": "rollup -e react,preact,use-sync-external-store/shim -f cjs --exports named --preserveModules -d ${DIR}cjs ${DIR}*.js && rollup -f cjs --exports auto -d ${DIR}cjs ${DIR}static-location.js && echo '{\"type\": \"commonjs\"}' > ${DIR}cjs/package.json",
73+
"bundle": "rollup -e react,preact,use-sync-external-store/shim/index.js,use-sync-external-store/shim/index.native.js -f cjs --exports named --preserveModules -d ${DIR}cjs ${DIR}*.js && rollup -f cjs --exports auto -d ${DIR}cjs ${DIR}static-location.js && echo '{\"type\": \"commonjs\"}' > ${DIR}cjs/package.json",
7474
"prepublishOnly": "npm run clean && npm run preact && npm run types-preact && npm run bundle && DIR=./preact/ npm run bundle"
7575
},
7676
"author": "Alexey Taktarov <[email protected]>",
@@ -141,7 +141,7 @@
141141
"\\.js$": "jest-esm-jsx-transform"
142142
},
143143
"collectCoverageFrom": [
144-
"*.js"
144+
"*.js", "!use-sync-external-store*.js"
145145
]
146146
},
147147
"devDependencies": {

0 commit comments

Comments
 (0)