Comments (7)
Thanks gents, that's very promising. We'll release the fix soon.
from vanilla-extract.
Hey @mrm007 sure! Seems to work fine so far, but I'll keep that version for a while and report back if anything breaks.
from vanilla-extract.
import { sentryVitePlugin } from '@sentry/vite-plugin'
import { TanStackRouterVite } from '@tanstack/router-vite-plugin'
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin'
import react from '@vitejs/plugin-react-swc'
import Unfonts from 'unplugin-fonts/vite'
import { defineConfig } from 'vite'
import relay from 'vite-plugin-relay'
import tsconfigPaths from 'vite-tsconfig-paths'
// https://vitejs.dev/config/
export default defineConfig({
build: {
sourcemap: true,
},
plugins: [
tsconfigPaths(),
vanillaExtractPlugin(),
react(),
relay,
TanStackRouterVite(),
Unfonts({ }),
sentryVitePlugin({ }),
],
})
from vanilla-extract.
Hi @jakst, thanks for reporting this.
Would you mind trying out this snapshot in your app (not the reproduction)? It's a significant change and we don't have extensive test coverage, so I want to make sure we don't break unrelated things.
from vanilla-extract.
Can you share the list of Vite plugins you're currently using?
from vanilla-extract.
I see the same issue. The snapshot also fixes it for me.
plugins: [react(), vanillaExtractPlugin({})],
"@vitejs/plugin-react-swc": "^3.6.0",
"vite": "^5.0.11"
+ vanilla-extract
from vanilla-extract.
@vanilla-extract/[email protected]
has been released. Thank you all for the help.
from vanilla-extract.
Related Issues (20)
- vite-plugin v4 does not resolve aliased paths in css.ts files
- vite-plugin v4.0.2 does not work with Remix HOT 3
- Build broken after vite-plugin 4.0.0 HOT 8
- @vanilla-extract/vite-plugin v4.0.4 does not work in vitest on windows HOT 2
- Didn't get a result from child compiler error occurs when dynamic routes params like /blogs/[blog-id] HOT 3
- Conflicts with @sentry/vite-plugin in yarn workspaces when using Remix HOT 6
- issue with Typescript and Sprinkles HOT 1
- vanilla-extract/vite-plugin v4.0.4 does not work with custom TS paths/aliases in Astro HOT 6
- Errors running the Remix example on Windows OS HOT 3
- Windows css resolution HOT 2
- Empty layer definition duplicated HOT 2
- Broken link in documentation HOT 2
- Vite plugin fails to produce updated styles when run in watch mode HOT 7
- 4.x: Uncaught TypeError: e.constructor is not a function HOT 3
- Issue with selecting a child of a recipe HOT 2
- Cannot build a next app with Turbopack (Styles were unable to be assigned to a file) HOT 2
- Error 'No CSS for file' with vite watch mode HOT 9
- [VITE] Libraries shipping vanilla extract css loaded out of order when using vite HOT 1
- Next.js: Styles not loading after navigation with mixed pages/app HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanilla-extract.