Closed bigmistqke closed 1 year ago
when using tsup-preset-solid
tsup
options can be overwritten with the tsupOptions
key. Not sure if there is an option for the base URL specifically though.
{
tsupOptions(options) {
// do whatever to options
return options;
},
}
On further inspection it didn't had anything to do with the tsup
config, but with dev/vite.config.ts
instead.
Made a PR to add a path-alias
it's resolved now I believe
A
baseUrl
is defined in the tsconfig, but isn't intsup-preset-solid
: this causes an error.But when running
dev
:Failed to resolve import "src/Example" from "src/index.ts". Does the file exist?