mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
update plasmic package to omit cjs, migrated example from nextjs to vite/wouter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bknd/plasmic",
|
||||
"version": "0.3.4-alpha1",
|
||||
"version": "0.5.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
@@ -28,24 +28,24 @@
|
||||
"react": ">=18",
|
||||
"react-dom": ">=18",
|
||||
"@plasmicapp/host": ">=1.0.0",
|
||||
"@plasmicapp/query": ">=0.1.0"
|
||||
"@plasmicapp/loader-react": ">=1.0.0"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": [
|
||||
"src/index.ts"
|
||||
],
|
||||
"minify": false,
|
||||
"minify": true,
|
||||
"clean": true,
|
||||
"external": [
|
||||
"react",
|
||||
"react-dom",
|
||||
"@plasmicapp/host",
|
||||
"@plasmicapp/query",
|
||||
"@plasmicapp/loader-react",
|
||||
"swr"
|
||||
],
|
||||
"format": [
|
||||
"esm",
|
||||
"cjs"
|
||||
"esm"
|
||||
],
|
||||
"platform": "browser",
|
||||
"bundle": true,
|
||||
@@ -56,7 +56,7 @@
|
||||
},
|
||||
"types": "dist/index.d.ts",
|
||||
"module": "dist/index.js",
|
||||
"main": "dist/index.cjs",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md",
|
||||
|
||||
Reference in New Issue
Block a user