-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Issue for visibility.
Babel transform works, but not solid-refresh, the problem might be:
- one of the 3 conditions used to prevent
solid-refreshfrom running has a false-positive mergeAndConcatmight not be working.
Adding solid-refresh's babel plugin through babel option works:
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import solidRefresh from 'solid-refresh/babel';
export default defineConfig({
plugins: [
solidPlugin({
babel: {
plugins: [
[solidRefresh, { bundler: 'vite'}],
],
},
}),
],
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels