Skip to content

Commit d1e66dc

Browse files
committed
Externalize pretty-format dependency. It is no longer bundled into preact-render-to-string/jsx
1 parent c06f334 commit d1e66dc

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
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition",
1212
"transpile": "echo 'export const ENABLE_PRETTY = false;'>env.js && microbundle src/index.js -f es,umd --target web --external none",
13-
"transpile:jsx": "echo 'export const ENABLE_PRETTY = true;'>env.js && microbundle src/jsx.js -o dist/jsx.js --target web --external none",
13+
"transpile:jsx": "echo 'export const ENABLE_PRETTY = true;'>env.js && microbundle src/jsx.js -o dist/jsx.js --target web --external pretty-format",
1414
"copy-typescript-definition": "copyfiles -f src/index.d.ts dist",
1515
"test": "eslint src test && mocha --compilers js:babel-register test/**/*.js",
1616
"prepublish": "npm run build",
@@ -77,6 +77,6 @@
7777
"sinon-chai": "^2.8.0"
7878
},
7979
"dependencies": {
80-
"pretty-format": "^3.5.1"
80+
"pretty-format": "^3.8.0"
8181
}
8282
}

0 commit comments

Comments
 (0)