Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 971 Bytes

File metadata and controls

61 lines (42 loc) · 971 Bytes

vite-plugin-cloudflare-pages npm

STATUS WORK IN-PROGRESS

// vite.config.js
import cfPages from "vite-plugin-cloudflare-pages";

export default {
  plugins: [cfPages()],
};

Options (TODO)

export interface Options {
  /* ... */
}

Example for passing options to something (TODO)

(cloudlflare? wrangler? miniflare?)

import cfPages from "vite-plugin-cloudflare-pages";

export default {
  plugins: [
    cfPages({
      /* ... */
    }),
  ],
};

Example for another thing (TODO)

import cfPages from "vite-plugin-cloudflare-pages";

/* ... */

Using Miniflare (TODO)

Requires miniflare@^X.X.X & vite@^X.X.X

Placeholder for text, descriptions, and notes.

/* Example usage with Miniflare... */

Another placeholder for text, descriptions, and notes.

License

MIT