Is there any way to build custom js files?
Basically I want to build
src/sdk.ts
to {output}/sdk.js
. Sort of like library mode in vite.
Currently I'm using this module I wrote to render an entry file
If there's any better way to do this please let me know. Thanks!1 Reply
If you're building a module, you can use
nuxt-module-build
to write this file.
Here's an example :