Closed julienchazal closed 2 years ago
Hello
My project structure is like this :
node_modules package.json tsconfig.json app1/ node_modules src/ package.json tsconfig.json rollup.config.js app2/ node_modules src/ package.json tsconfig.json rollup.config.js shared/ components/ *.svelte utils/ *.ts
when i build from app2/rollup.config.js, i get error like Could not resolve ../../shared/utils/foo.ts i tried using esbuild stdin.resolveDir option but it works only with Build API i think
app2/rollup.config.js
Could not resolve ../../shared/utils/foo.ts
esbuild
stdin.resolveDir
Build
Do you have any ideas how i can solve this please ?
My bad, it was not a rollup-plugin-esbuild issue !
Hello
My project structure is like this :
when i build from
app2/rollup.config.js
, i get error likeCould not resolve ../../shared/utils/foo.ts
i tried usingesbuild
stdin.resolveDir
option but it works only withBuild
API i thinkDo you have any ideas how i can solve this please ?