I'm working on a project which uses svelte to create a frontend tool for non-technical users to create new svelte components and save them to a db. I came across your project as a possible solution to the issues that we've faced and I noticed that there might be a potential use case to cover with it. The only difference for us is that we only want the programatic JS output of compilation so it's beneficial to not have to bundle a bunch of files. A friend of mine and I took a stab at making some changes in order to achieve this, but also to maintain backwards compatability for anyone using pelte in the traditional sense.
Breaking changes worth mentioning:
npm main script has been changed from dist/index.js to dist/pelte.js - if you know a way to make this more backwards compatible, we are open to changes
Also - Our typescript isn't the best so we didn't add any types. If that's important, we'd love some recommendations
BTW- If you think this is out of scope for the project, feel free to close it. I just figured it was worth contributing these changes back to your original project since it really helped us come up with a working solution for our use case.
Description
I'm working on a project which uses svelte to create a frontend tool for non-technical users to create new svelte components and save them to a db. I came across your project as a possible solution to the issues that we've faced and I noticed that there might be a potential use case to cover with it. The only difference for us is that we only want the programatic JS output of compilation so it's beneficial to not have to bundle a bunch of files. A friend of mine and I took a stab at making some changes in order to achieve this, but also to maintain backwards compatability for anyone using pelte in the traditional sense.
Breaking changes worth mentioning:
dist/index.js
todist/pelte.js
- if you know a way to make this more backwards compatible, we are open to changesAlso - Our typescript isn't the best so we didn't add any types. If that's important, we'd love some recommendations
BTW- If you think this is out of scope for the project, feel free to close it. I just figured it was worth contributing these changes back to your original project since it really helped us come up with a working solution for our use case.