Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcompiles committed Sep 20, 2021
1 parent e177e53 commit ca6a0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/fluffy-kings-watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

Add `devStyleRuntime` option to allow switching between dev style runtimes

The 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. Passing `devStyleRuntime: 'vanilla-extract'` will instead use vanilla-extract's browser runtime. This pushes all style creation in devlopment to the browser, but may give a better HMR experience.
The 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. Passing `devStyleRuntime: '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.

0 comments on commit ca6a0e5

Please sign in to comment.