Uh oh!
There was an error while loading. Please reload this page.
add scripts and description how to test plugins locally - #1601
Conversation
| "generate": "node ./scripts/multisrc/generate.js", | ||
| "host-linux": "chmod +x ./host.sh && ./host.sh", | ||
| "host-windows": "powershell ./host.ps1", | ||
| "host-dev": "npx tsc --project tsconfig.production.json && npm run json && npx serve", |
There was a problem hiding this comment.
npx command downloads it automatically, it doesn't have to be specified in package.json as a dependency
There was a problem hiding this comment.
So it would be a global package right? I dont think people want it.
Or you could also serve json files via vite by moving them to public folder and change vite server host to 0.0.0.0
There was a problem hiding this comment.
I've updated it in a way you have described, however to be honest I still think down the road using npx serve would pay off since it resulted in lesser complexity of json_plugins.js file
There was a problem hiding this comment.
make sense, but could you add the serve package to devDependencies.
No description provided.