@sveltejs/adapter-netlify 4.4.1 → 4.4.2
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/index.js +2 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -143,7 +143,8 @@ async function generate_edge_functions({ builder }) {
|
|
|
143
143
|
writeFileSync(`${tmp}/manifest.js`, `export const manifest = ${manifest};\n`);
|
|
144
144
|
|
|
145
145
|
/** @type {{ assets: Set<string> }} */
|
|
146
|
-
|
|
146
|
+
// we have to prepend the file:// protocol because Windows doesn't support absolute path imports
|
|
147
|
+
const { assets } = (await import(`file://${tmp}/manifest.js`)).manifest;
|
|
147
148
|
|
|
148
149
|
const path = '/*';
|
|
149
150
|
// We only need to specify paths without the trailing slash because
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltejs/adapter-netlify",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.2",
|
|
4
4
|
"description": "A SvelteKit adapter that creates a Netlify app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"rollup": "^4.14.2",
|
|
48
48
|
"typescript": "^5.3.3",
|
|
49
49
|
"vitest": "^3.0.1",
|
|
50
|
-
"@sveltejs/kit": "^2.
|
|
50
|
+
"@sveltejs/kit": "^2.17.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@sveltejs/kit": "^2.4.0"
|