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

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'],
134
132
  entryPoints: [`${tmp}/entry.js`],
135
133
  outfile: '.netlify/edge-functions/render.js',
136
134
  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.86",
3
+ "version": "1.0.0-next.87",
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.584"
41
+ "@sveltejs/kit": "1.0.0-next.585"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "rimraf files && rollup -cw",