-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts.timestamp-1692018226773-58641b11ebb79.mjs
36 lines (36 loc) · 3.55 KB
/
vite.config.ts.timestamp-1692018226773-58641b11ebb79.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// vite.config.ts
import react from "file:///D:/Work/01.%20Proyectos/final-countdown-js/node_modules/@vitejs/plugin-react/dist/index.mjs";
import path from "node:path";
import { defineConfig } from "file:///D:/Work/01.%20Proyectos/final-countdown-js/node_modules/vite/dist/node/index.js";
import dts from "file:///D:/Work/01.%20Proyectos/final-countdown-js/node_modules/vite-plugin-dts/dist/index.mjs";
var __vite_injected_original_dirname = "D:\\Work\\01. Proyectos\\final-countdown-js";
var vite_config_default = defineConfig({
plugins: [
react(),
dts({
insertTypesEntry: true
})
],
build: {
lib: {
entry: path.resolve(__vite_injected_original_dirname, "src/hooks/index.ts"),
name: "final-countdown-js",
formats: ["es", "umd"],
fileName: (format) => `final-countdown-js.${format}.js`
},
rollupOptions: {
external: ["react", "react-dom", "styled-components"],
output: {
globals: {
react: "React",
"react-dom": "ReactDOM",
"styled-components": "styled"
}
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxXb3JrXFxcXDAxLiBQcm95ZWN0b3NcXFxcZmluYWwtY291bnRkb3duLWpzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxXb3JrXFxcXDAxLiBQcm95ZWN0b3NcXFxcZmluYWwtY291bnRkb3duLWpzXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX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