@sveltejs/adapter-netlify 1.0.0-next.85 → 1.0.0-next.86

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/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -129,11 +129,11 @@ async function generate_edge_functions({ builder }) {
129
129
  );
130
130
 
131
131
  await esbuild.build({
132
+ platform: 'neutral',
133
+ mainFields: ['module', 'main'],
132
134
  entryPoints: [`${tmp}/entry.js`],
133
135
  outfile: '.netlify/edge-functions/render.js',
134
136
  bundle: true,
135
- format: 'esm',
136
- platform: 'browser',
137
137
  sourcemap: 'linked',
138
138
  target: 'es2020'
139
139
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-netlify",
3
- "version": "1.0.0-next.85",
3
+ "version": "1.0.0-next.86",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -38,7 +38,7 @@
38
38
  "rollup": "^3.7.0",
39
39
  "typescript": "^4.9.3",
40
40
  "uvu": "^0.5.6",
41
- "@sveltejs/kit": "1.0.0-next.579"
41
+ "@sveltejs/kit": "1.0.0-next.584"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "rimraf files && rollup -cw",