astro/packages/integrations/netlify/test/edge-functions/fixtures/dynimport/prod.js
Matthew Phillips f3ab822e32
Allow dynamic imports when using Netlify Edge Functions (#3535)
* Allow dynamic imports when using Netlify Edge Functions

* Update deno test script and changeset
2022-06-07 11:41:32 -04:00

11 lines
281 B
JavaScript

import handler from './.netlify/edge-functions/entry.js';
import { Server } from 'https://deno.land/std@0.132.0/http/server.ts';
const _server = new Server({
port: 8085,
hostname: '0.0.0.0',
handler,
});
_server.listenAndServe();
console.error(`Server running on port 8085`);