Closed arjunindia closed 1 year ago
Happening on macOS as well with 2.11.1
Happening on macOS as well with 2.11.1
Can you reproduce this with https://ladle.dev/new?
Yes. Still same issue with 2.12.0 :(
Here's the repo I'm using it for https://github.com/saisandeepvaddi/ant-table-extensions/blob/2.0/package.json#L70
macOS Ventura 13.3.1 M2 Pro
I had the same issue and found that my Vite configuration caused the problem. I have custom Build Options configured and once I put those in comments it solved the issue.
What you could try is to create a second (empty) Vite configuration file:
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({});
Then run your ladle build with the --viteConfig
option set. ladle build --viteConfig ./vite-ladle.config.ts
Seems to be caused by vite-plugin-dts
, but vite build
works just fine.
not really tracking this as a bug since the root cause is vite-plugin-dts
(or that's the repro we have so far)
Describe the bug
on running npx ladle build, an error is thrown:
Environment