@stylexjs/postcss-plugin 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/builder.js +1 -1
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@stylexjs/postcss-plugin",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "PostCSS plugin for StyleX",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://www.github.com/facebook/stylex",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
9
  "@babel/core": "^7.26.8",
10
- "@stylexjs/babel-plugin": "0.11.0",
10
+ "@stylexjs/babel-plugin": "0.11.1",
11
11
  "postcss": "^8.4.49",
12
12
  "fast-glob": "^3.3.2",
13
13
  "glob-parent": "^6.0.2",
package/src/builder.js CHANGED
@@ -145,7 +145,7 @@ function createBuilder() {
145
145
  if (!bundler.shouldTransform(contents)) {
146
146
  return;
147
147
  }
148
- return bundler.transform(file, contents, babelConfig, {
148
+ return bundler.transform(filePath, contents, babelConfig, {
149
149
  isDev,
150
150
  shouldSkipTransformError,
151
151
  });