JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q61694F
  • License MIT

Preview and deploy @marko/run apps to Netlify Functions/Edge Functions

Package Exports

    Readme

    Marko Run Logo
    @marko/run-adapter-netlify

    Preview and deploy @marko/run apps to Netlify Functions/Edge Functions

    Intallation

    npm install @marko/run-adapter-netlify

    Usage

    In your application's Vite config file (eg. vite.config.js), import and register this adapter with the @marko/run Vite plugin:

    import { defineConfig } from "vite";
    import marko from "@marko/run/vite";
    import netlifyAdapter from "@marko/run-adapter-netlify";
    
    export default defineConfig({
      plugins: [
        marko({
          adapter: netlifyAdapter({ edge: true }),
        }),
      ],
    });