[go: nahoru, domu]

Skip to content

Commit

Permalink
Add vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr committed Jan 28, 2023
1 parent cadb6be commit 310e918
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import dts from "vite-plugin-dts";

/** @type {import("vite").UserConfig} */
export default {
build: {
lib: {
entry: "src/polyfill.ts",
name: "style_scoped",
formats: ["umd"],
fileName: () => "scoped.min.js",
},
},
plugins: [dts()],
};

0 comments on commit 310e918

Please sign in to comment.