| 1 | import { octane } from "@octanejs/vite-plugin"; |
| 2 | import tailwindcss from "@tailwindcss/vite"; |
| 3 | import { defineConfig } from "vite"; |
| 4 | |
| 5 | export default defineConfig({ |
| 6 | root: ".", |
| 7 | plugins: [ |
| 8 | octane(), |
| 9 | tailwindcss(), |
| 10 | { |
| 11 | name: "native-app-plugin", |
| 12 | transformIndexHtml(html) { |
| 13 | return html.replace("NATIVE_HTML", "native-plugin-preserved"); |
| 14 | }, |
| 15 | }, |
| 16 | ], |
| 17 | build: { target: "esnext" }, |
| 18 | }); |