Is your feature request related to a problem? Please describe.
Right now, Perla only tries to work with websites, i.e. the main entry point is an index.html file, but if you want to develop a library this won't be that useful, you don't really need that index file, you only need an exported file and possibly a package.json file to deploy to npm afterwards
Describe the solution you'd like
Allow in the configuration to build/serve in library mode, where the index file is used as a mere demo and the entry point is built as is with esbuild, ideally we should also emit a package.json file with the dependencies and corresponding declarations about modules and esm sources.
Is your feature request related to a problem? Please describe. Right now, Perla only tries to work with websites, i.e. the main entry point is an
index.html
file, but if you want to develop a library this won't be that useful, you don't really need that index file, you only need an exported file and possibly a package.json file to deploy to npm afterwardsDescribe the solution you'd like Allow in the configuration to build/serve in library mode, where the index file is used as a mere demo and the entry point is built as is with esbuild, ideally we should also emit a package.json file with the dependencies and corresponding declarations about modules and esm sources.