🎉 Initial commit

This commit is contained in:
2026-02-02 08:45:51 +00:00
commit 90b460b899
8 changed files with 5100 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
import checker from 'vite-plugin-checker';
import { defineConfig } from "vite";
import dts from 'vite-plugin-dts';
import { externalizeDeps } from "vite-plugin-externalize-deps";
import { resolve } from "path";
export default defineConfig({
plugins: [
externalizeDeps(),
checker({
typescript: true
}),
dts(),
],
build: {
minify: false,
lib: {
// Could also be a dictionary or array of multiple entry points
entry: resolve(__dirname, "src/index.ts"),
// name: "remote-data-fp-ts",
// the proper extensions will be added
fileName: (_, name) => `${name}.js`,
formats: ["es"]
},
emptyOutDir: true,
rollupOptions: {
output: {
preserveModules: true
}
},
},
});