Open Caesar-APAX opened 3 months ago
Aslo it need support @styled-coponents to show classname for run dev
https://github.com/Ranger-Theme/ranger-storefront-mui-remix
Mac os
pnpm
When i run dev command, the emotion shuld show the class name for StyledXXX
import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; export default defineConfig({ plugins: [ react({ jsxImportSource: "@emotion/react", babel: { plugins: ["@emotion/babel-plugin"], }, }), ], });
export default defineConfig({ plugins: [ remix({ jsxImportSource: "@emotion/react", babel: { plugins: ["@emotion/babel-plugin"], }, }), ], });
Not show the real className, just show axjs-xx className
https://dev.to/glocore/configure-emotion-with-your-vite-react-project-7jl
@brophdawg11 Dou you support remix custom babel plugins?
@n8agrin @freeman @dmarkow @brophdawg11 Any update? thanks
Also wondering
Aslo it need support @styled-coponents to show classname for run dev
Reproduction
https://github.com/Ranger-Theme/ranger-storefront-mui-remix
System Info
Used Package Manager
pnpm
Expected Behavior
When i run dev command, the emotion shuld show the class name for StyledXXX
Actual Behavior
Not show the real className, just show axjs-xx className
https://dev.to/glocore/configure-emotion-with-your-vite-react-project-7jl