From 56c840fe47e52e5156912beebbb02d1c4a8c9dbd Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Mon, 5 Apr 2021 12:42:34 +0200 Subject: [PATCH] Fix preact being accidentally inlined for jsx renderer --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 28625fdf..ebcdd662 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition", "postbuild": "node ./config/node-13-exports.js && node ./config/node-commonjs.js", "transpile": "microbundle src/index.js -f es,umd --target web --external preact", - "transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs", + "transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact", "copy-typescript-definition": "copyfiles -f src/*.d.ts dist", "test": "eslint src test && tsc && npm run test:mocha && npm run bench", "test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/**/*.test.js",