Minify plasmic css classnames for NextJS application


I have tried out plasmic for a while now and the next step is to optimize my application bundle size. I am using NextJS. What I have recognized is that the css classnames produced by plasmic are very long and I didn’t find a way to minify those. For example “plasmic_default__all plasmic_default__div Homepage__heroBanner__aZh6A”. I have tried next-optimized-classnames - npm but it didn’t work for plasmic pages. Is there a way to minify the output from plasmic?

Best regards

@reinhard_joswig Sorry I missed your question earlier. We looked into shortening classNames, but it yielded only modest performance benefits when compressed in our research. We’re continually working on minimizing bundle size, however.