@vanilla-extract/integration
Advanced tools
Comparing version 0.0.0-vite-plugin-new-20240123234501 to 0.0.0-vite-plugin-new-20240125071352
@@ -42,3 +42,3 @@ import { Adapter, FileScope } from '@vanilla-extract/css'; | ||
cwd?: string; | ||
esbuildOptions?: Pick<BuildOptions, 'plugins' | 'external' | 'define' | 'loader' | 'tsconfig'>; | ||
esbuildOptions?: Pick<BuildOptions, 'plugins' | 'external' | 'define' | 'loader' | 'tsconfig' | 'conditions'>; | ||
} | ||
@@ -45,0 +45,0 @@ declare function compile({ filePath, identOption, cwd, esbuildOptions, }: CompileOptions): Promise<{ |
@@ -500,3 +500,4 @@ 'use strict'; | ||
define: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.define, | ||
tsconfig: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.tsconfig | ||
tsconfig: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.tsconfig, | ||
conditions: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.conditions | ||
}); | ||
@@ -787,7 +788,10 @@ const { | ||
if (cssObjs) { | ||
const css = transformCss.transformCss({ | ||
localClassNames: Array.from(localClassNames), | ||
composedClassLists, | ||
cssObjs | ||
}).join('\n'); | ||
let css = ''; | ||
if (cssObjs.length > 0) { | ||
css = transformCss.transformCss({ | ||
localClassNames: Array.from(localClassNames), | ||
composedClassLists, | ||
cssObjs | ||
}).join('\n'); | ||
} | ||
cssCache.set(cssDepModuleId, { | ||
@@ -794,0 +798,0 @@ css |
@@ -500,3 +500,4 @@ 'use strict'; | ||
define: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.define, | ||
tsconfig: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.tsconfig | ||
tsconfig: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.tsconfig, | ||
conditions: esbuildOptions === null || esbuildOptions === void 0 ? void 0 : esbuildOptions.conditions | ||
}); | ||
@@ -787,7 +788,10 @@ const { | ||
if (cssObjs) { | ||
const css = transformCss.transformCss({ | ||
localClassNames: Array.from(localClassNames), | ||
composedClassLists, | ||
cssObjs | ||
}).join('\n'); | ||
let css = ''; | ||
if (cssObjs.length > 0) { | ||
css = transformCss.transformCss({ | ||
localClassNames: Array.from(localClassNames), | ||
composedClassLists, | ||
cssObjs | ||
}).join('\n'); | ||
} | ||
cssCache.set(cssDepModuleId, { | ||
@@ -794,0 +798,0 @@ css |
{ | ||
"name": "@vanilla-extract/integration", | ||
"version": "0.0.0-vite-plugin-new-20240123234501", | ||
"version": "0.0.0-vite-plugin-new-20240125071352", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
@@ -21,3 +21,3 @@ "main": "dist/vanilla-extract-integration.cjs.js", | ||
"@vanilla-extract/css": "^1.14.0", | ||
"esbuild": "0.17.6", | ||
"esbuild": "npm:esbuild@~0.17.6 || ~0.18.0 || ~0.19.0", | ||
"eval": "0.1.8", | ||
@@ -24,0 +24,0 @@ "find-up": "^5.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64226
1774
+ Added@esbuild/aix-ppc64@0.19.12(transitive)
+ Added@esbuild/android-arm@0.19.12(transitive)
+ Added@esbuild/android-arm64@0.19.12(transitive)
+ Added@esbuild/android-x64@0.19.12(transitive)
+ Added@esbuild/darwin-arm64@0.19.12(transitive)
+ Added@esbuild/darwin-x64@0.19.12(transitive)
+ Added@esbuild/freebsd-arm64@0.19.12(transitive)
+ Added@esbuild/freebsd-x64@0.19.12(transitive)
+ Added@esbuild/linux-arm@0.19.12(transitive)
+ Added@esbuild/linux-arm64@0.19.12(transitive)
+ Added@esbuild/linux-ia32@0.19.12(transitive)
+ Added@esbuild/linux-loong64@0.19.12(transitive)
+ Added@esbuild/linux-mips64el@0.19.12(transitive)
+ Added@esbuild/linux-ppc64@0.19.12(transitive)
+ Added@esbuild/linux-riscv64@0.19.12(transitive)
+ Added@esbuild/linux-s390x@0.19.12(transitive)
+ Added@esbuild/linux-x64@0.19.12(transitive)
+ Added@esbuild/netbsd-x64@0.19.12(transitive)
+ Added@esbuild/openbsd-x64@0.19.12(transitive)
+ Added@esbuild/sunos-x64@0.19.12(transitive)
+ Added@esbuild/win32-arm64@0.19.12(transitive)
+ Added@esbuild/win32-ia32@0.19.12(transitive)
+ Added@esbuild/win32-x64@0.19.12(transitive)
+ Addedesbuild@0.19.12(transitive)
- Removed@esbuild/android-arm@0.17.6(transitive)
- Removed@esbuild/android-arm64@0.17.6(transitive)
- Removed@esbuild/android-x64@0.17.6(transitive)
- Removed@esbuild/darwin-arm64@0.17.6(transitive)
- Removed@esbuild/darwin-x64@0.17.6(transitive)
- Removed@esbuild/freebsd-arm64@0.17.6(transitive)
- Removed@esbuild/freebsd-x64@0.17.6(transitive)
- Removed@esbuild/linux-arm@0.17.6(transitive)
- Removed@esbuild/linux-arm64@0.17.6(transitive)
- Removed@esbuild/linux-ia32@0.17.6(transitive)
- Removed@esbuild/linux-loong64@0.17.6(transitive)
- Removed@esbuild/linux-mips64el@0.17.6(transitive)
- Removed@esbuild/linux-ppc64@0.17.6(transitive)
- Removed@esbuild/linux-riscv64@0.17.6(transitive)
- Removed@esbuild/linux-s390x@0.17.6(transitive)
- Removed@esbuild/linux-x64@0.17.6(transitive)
- Removed@esbuild/netbsd-x64@0.17.6(transitive)
- Removed@esbuild/openbsd-x64@0.17.6(transitive)
- Removed@esbuild/sunos-x64@0.17.6(transitive)
- Removed@esbuild/win32-arm64@0.17.6(transitive)
- Removed@esbuild/win32-ia32@0.17.6(transitive)
- Removed@esbuild/win32-x64@0.17.6(transitive)
- Removedesbuild@0.17.6(transitive)