Skip to content

Commit

Permalink
add post build script
Browse files Browse the repository at this point in the history
This is to restore the patch of emotion: emotion-js/emotion#2651, because rollup will concat these two strings to one.
  • Loading branch information
tanbowensg committed Sep 15, 2022
1 parent 92931ba commit ec51438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -11,6 +11,7 @@
"dev": "vite",
"prepublish": "npm run typings && npm run build",
"build": "vite build",
"postbuild": "sed -i -e 's/\"useInsertionEffect\"/\"useInsertion\"+\"Effect\"/g' ./dist/index.es.js",
"typings": "tsc --emitDeclarationOnly",
"preview": "vite preview"
},
Expand Down

0 comments on commit ec51438

Please sign in to comment.