diff --git a/package.json b/package.json index aa57eca..d599901 100644 --- a/package.json +++ b/package.json @@ -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" },