Minor Changes
-
#373
a55d2cf
Thanks @mattcompiles! - AdddevStyleRuntime
option to allow switching between dev style runtimesThe built-in Vite dev style runtime (what adds styles to the page when running
vite serve
) doesn't seem to clean up old styles as expected. PassingdevStyleRuntime: 'vanilla-extract'
will instead use vanilla-extract's browser runtime. This pushes all style creation in development to the browser, but may give a better HMR experience.