@cloudflare/vite-plugin 1.0.3 → 1.0.4
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.
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12910,7 +12910,7 @@ globalThis.${globalName} = var_${globalName}.${exportName};
|
|
|
12910
12910
|
}
|
|
12911
12911
|
function resolveNodeJSImport(source) {
|
|
12912
12912
|
const alias = env.alias[source];
|
|
12913
|
-
if (alias) {
|
|
12913
|
+
if (alias && !nodeCompatExternals.has(alias)) {
|
|
12914
12914
|
return {
|
|
12915
12915
|
unresolved: alias,
|
|
12916
12916
|
resolved: resolvePathSync(alias, { url: import.meta.url })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/vite-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Cloudflare plugin for Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"vite": "^6.1.0",
|
|
57
57
|
"vitest": "~3.0.8",
|
|
58
58
|
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
59
|
-
"@cloudflare/workers-
|
|
60
|
-
"@cloudflare/workers-
|
|
59
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
60
|
+
"@cloudflare/workers-shared": "0.17.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"vite": "^6.1.0",
|