Change "svelte"
path in package.json
in root during dev and in package dir after npm run package
#2242
Labels
Milestone
Describe the problem
When developing a package I would like to have
"svelte": "src/lib/index.ts"
in mypackage.json
(using it withnpm link
) but when I build I would like it changed to"svelte": "index.js"
inpackage
dir.Is this already possible and I don't know?
I'm using
"@sveltejs/kit": "1.0.0-next.153"
with it skeleton project.Describe the proposed solution
Transform that path in
package.json
duringnpm run package
.Importance
would make my life easier
The text was updated successfully, but these errors were encountered: