0.0.3 • Published 5 months ago

build-ftl v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

VITE-BUILD-FTL

import { defineConfig } from "vite";
import { resolve } from "path";
import buildFTL, { publicPath } from "../src/index";

// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
  base: mode === "development" ? "/" : publicPath,
  plugins: [buildFTL({ ftlDir: "./dist2", entryDir: "./test/entry" })],
  build: {
    // 启用manifest.json 文件
    manifest: true,
    rollupOptions: {
      input: {
        main: resolve(__dirname, "./index.html"),
      },
    },
  },
}));
0.0.3

5 months ago

0.0.2

11 months ago

0.0.1

11 months ago