Giter Site home page Giter Site logo

Comments (7)

mrm007 avatar mrm007 commented on August 21, 2024 3

Thanks gents, that's very promising. We'll release the fix soon.

from vanilla-extract.

jakst avatar jakst commented on August 21, 2024 1

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.

jakst avatar jakst commented on August 21, 2024 1
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.

mrm007 avatar mrm007 commented on August 21, 2024

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.

mrm007 avatar mrm007 commented on August 21, 2024

Can you share the list of Vite plugins you're currently using?

from vanilla-extract.

acr92 avatar acr92 commented on August 21, 2024

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.

mrm007 avatar mrm007 commented on August 21, 2024

@vanilla-extract/[email protected] has been released. Thank you all for the help.

from vanilla-extract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.