Skip to content

Commit

Permalink
Fix #82 babel import undefined in Nuxt environments (#83)
Browse files Browse the repository at this point in the history
* Fix #82 babel import undefined
  • Loading branch information
nathpaiement authored Sep 27, 2024
1 parent 677a735 commit d084af2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quick-toys-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vite-plugin-stylex": patch
---

Fix #82 babel import undefined in Nuxt environments
2 changes: 1 addition & 1 deletion packages/vite-plugin-stylex/src/main.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Plugin, ViteDevServer, Rollup, AliasOptions } from "vite";
import babel from "@babel/core";
import * as babel from "@babel/core";
import stylexBabelPlugin, {
Options as StyleXOptions,
} from "@stylexjs/babel-plugin";
Expand Down

0 comments on commit d084af2

Please sign in to comment.