@arcjet/rollup-config
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
13
index.js
@@ -99,2 +99,15 @@ import fs from "fs"; | ||
}), | ||
{ | ||
name: "externalize-edge-wasm", | ||
resolveId(id) { | ||
// Cloudflare uses the `.wasm?module` suffix to make WebAssembly | ||
// available in their Workers product. This is documented at | ||
// https://developers.cloudflare.com/workers/runtime-apis/webassembly/javascript/#bundling | ||
// Next.js supports the same syntax, but it is undocumented. | ||
if (id.endsWith(".wasm?module")) { | ||
return { id, external: true }; | ||
} | ||
return null; | ||
}, | ||
}, | ||
...plugins, | ||
@@ -101,0 +114,0 @@ ], |
{ | ||
"name": "@arcjet/rollup-config", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Custom rollup config for Arcjet projects", | ||
@@ -32,3 +32,3 @@ "license": "Apache-2.0", | ||
"@rollup/plugin-replace": "5.0.5", | ||
"@rollup/plugin-typescript": "11.1.5" | ||
"@rollup/plugin-typescript": "11.1.6" | ||
}, | ||
@@ -39,7 +39,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@arcjet/eslint-config": "1.0.0-alpha.7", | ||
"@arcjet/tsconfig": "1.0.0-alpha.7", | ||
"@arcjet/eslint-config": "1.0.0-alpha.8", | ||
"@arcjet/tsconfig": "1.0.0-alpha.8", | ||
"@jest/globals": "29.7.0", | ||
"@types/node": "18.18.0", | ||
"@rollup/wasm-node": "4.9.1", | ||
"@rollup/wasm-node": "4.9.6", | ||
"jest": "29.7.0", | ||
@@ -46,0 +46,0 @@ "typescript": "5.3.3" |
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
17613
110
+ Added@rollup/plugin-typescript@11.1.6(transitive)
- Removed@rollup/plugin-typescript@11.1.5(transitive)