-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.ts.timestamp-1684082287529.mjs
29 lines (29 loc) · 3.02 KB
/
vite.config.ts.timestamp-1684082287529.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
// vite.config.ts
import { defineConfig } from "file:///C:/Users/Sumba/OneDrive/Desktop/DEV/@sumbat/react-diagramax/node_modules/vite/dist/node/index.js";
import react from "file:///C:/Users/Sumba/OneDrive/Desktop/DEV/@sumbat/react-diagramax/node_modules/@vitejs/plugin-react/dist/index.mjs";
import dts from "file:///C:/Users/Sumba/OneDrive/Desktop/DEV/@sumbat/react-diagramax/node_modules/vite-plugin-dts/dist/index.mjs";
var vite_config_default = defineConfig({
plugins: [react(), dts()],
build: {
lib: {
entry: "src/index.ts",
name: "ReactDiagramax",
fileName: (format) => `diagramax.${format}.js`
},
rollupOptions: {
external: ["react", "react-dom"],
output: {
globals: {
react: "React",
"react-dom": "ReactDOM"
}
}
},
outDir: "dist",
sourcemap: true
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxTdW1iYVxcXFxPbmVEcml2ZVxcXFxEZXNrdG9wXFxcXERFVlxcXFxAc3VtYmF0XFxcXHJlYWN0LWRpYWdyYW1heFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcVXNlcnNcXFxcU3VtYmFcXFxcT25lRHJpdmVcXFxcRGVza3RvcFxcXFxERVZcXFxcQHN1bWJhdFxcXFxyZWFjdC1kaWFncmFtYXhcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGV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