Closed greypants closed 1 year ago
Adds solution referenced here: https://github.com/vitejs/vite-plugin-react/blob/main/playground/mdx/vite.config.ts#L8
Without it, the build script throws:
build
[vite:react-swc] × Expected ident
Hi, can you provide a repro? The current playground builds correctly without it. The SWC plugin does not require "pre" because esbuild is disabled
Adds solution referenced here: https://github.com/vitejs/vite-plugin-react/blob/main/playground/mdx/vite.config.ts#L8
Without it, the
build
script throws: