-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts.timestamp-1694092180275-d799b6bf3c674.mjs
56 lines (56 loc) · 5.24 KB
/
vite.config.ts.timestamp-1694092180275-d799b6bf3c674.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// vite.config.ts
import { defineConfig } from "file:///home/cgm/projects/personal/bearbroidery/node_modules/.pnpm/vite@4.4.7_@types+node@18.17.0/node_modules/vite/dist/node/index.js";
import solid from "file:///home/cgm/projects/personal/bearbroidery/node_modules/.pnpm/vite-plugin-solid@2.7.0_solid-js@1.7.11_vite@4.4.7/node_modules/vite-plugin-solid/dist/esm/index.mjs";
import dts from "file:///home/cgm/projects/personal/bearbroidery/node_modules/.pnpm/vite-plugin-dts@3.3.1_typescript@5.0.4_vite@4.4.7/node_modules/vite-plugin-dts/dist/index.mjs";
import inspect from "file:///home/cgm/projects/personal/bearbroidery/node_modules/.pnpm/vite-plugin-inspect@0.7.14_rollup@3.26.3_vite@4.4.7/node_modules/vite-plugin-inspect/dist/index.mjs";
import solidDevtoolsPlugin from "file:///home/cgm/projects/personal/bearbroidery/node_modules/.pnpm/solid-devtools@0.27.4_solid-js@1.7.11_vite@4.4.7/node_modules/solid-devtools/dist/vite.js";
var vite_config_default = defineConfig(({ mode }) => {
const plugins = [
dts({
insertTypesEntry: true,
outDir: "./dist/"
}),
inspect(),
solid()
];
if (mode === "development") {
plugins.push(solidDevtoolsPlugin({ autoname: true }));
}
return {
plugins,
build: {
emptyOutDir: false,
lib: {
entry: "./src/index.ts",
formats: ["es"],
fileName: (format) => `solixi.${format}.js`,
name: "solixi"
},
minify: false,
rollupOptions: {
external: [
"solid-js",
"solid-js/web",
"solid-js/store",
"@pixi/app",
"@pixi/assets",
"@pixi/core",
"@pixi/display",
"@pixi/layers",
"@pixi/mesh",
"@pixi/mesh-extras",
"@pixi/ticker",
"@pixi/utils",
"@pixi/graphics",
"@pixi/events",
"@pixi/text",
"@pixi/sprite"
]
}
}
};
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9jZ20vcHJvamVjdHMvcGVyc29uYWwvYmVhcmJyb2lkZXJ5L3BhY2thZ2VzL3NvbGl4aVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiL2hvbWUvY2dtL3Byb2plY3RzL3BlcnNvbmFsL2JlYXJicm9pZGVyeS9wYWNrYWdlcy9zb2xpeGkvdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL2hvbWUvY2dtL3Byb2plY3RzL3BlcnNvbmFsL2JlYXJicm9pZGVyeS9wYWNrYWdlcy9zb2xpeGkvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcsIHR5cGUgUGx1Z2luIH0gZnJvbSBcInZpdGVcIjtcbmltcG9ydCBzb2xpZCBmcm9tICd2aXRlLXBsdWdpbi1zb2xpZCdcbmltcG9ydCBkdHMgZnJvbSBcInZpdGUtcGx1Z2luLWR0c1wiO1xuaW1wb3J0IGluc3BlY3QgZnJvbSBcInZpdGUtcGx1Z2luLWluc3BlY3RcIjtcbmltcG9ydCBzb2xpZERldnRvb2xzUGx1Z2luIGZyb20gXCJzb2xpZC1kZXZ0b29scy92aXRlXCI7XG5cbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZygoe21vZGV9KSAgPT4ge1xuICBjb25zdCBwbHVnaW5zID0gW1xuICAgIGR0cyh7XG4gICAgICBpbnNlcnRUeXBlc0VudHJ5OiB0cnVlLFxuICAgICAgb3V0RGlyOiBcIi4vZGlzdC9cIixcbiAgICB9KSxcbiAgICBpbnNwZWN0KCksXG4gICAgc29saWQoKSxcbiAgXTtcbiAgaWYgKG1vZGUgPT09IFwiZGV2ZWxvcG1lbnRcIikge1xuICAgIHBsdWdpbnMucHVzaChzb2xpZERldnRvb2xzUGx1Z2luKHsgYXV0b25hbWU6IHRydWUgfSkgYXMgUGx1Z2luKTtcbiAgfVxuXG4gIHJldHVybiB7XG4gICAgcGx1Z2lucyxcbiAgICBidWlsZDoge1xuICAgICAgZW1wdHlPdXREaXI6IGZhbHNlLFxuICAgICAgbGliOiB7XG4gICAgICAgIGVudHJ5OiAnLi9zcmMvaW5kZXgudHMnLFxuICAgICAgICBmb3JtYXRzOiBbJ2VzJ10sXG4gICAgICAgIGZpbGVOYW1lOiAoZm9ybWF0KSA9PiBgc29saXhpLiR7Zm9ybWF0fS5qc2AsXG4gICAgICAgIG5hbWU6ICdzb2xpeGknLFxuICAgICAgfSxcbiAgICAgIG1pbmlmeTogZmFsc2UsXG4gICAgICByb2xsdXBPcHRpb25zOiB7XG4gICAgICAgIGV4dGVybmFsOiBbXG4gICAgICAgICAgJ3NvbGlkLWpzJyxcbiAgICAgICAgICAnc29saWQtanMvd2ViJyxcbiAgICAgICAgICAnc29saWQtanMvc3RvcmUnLFxuICAgICAgICAgICdAcGl4aS9hcHAnLFxuICAgICAgICAgICdAcGl4aS9hc3NldHMnLFxuICAgICAgICAgICdAcGl4aS9jb3JlJyxcbiAgICAgICAgICAnQHBpeGkvZGlzcGxheScsXG4gICAgICAgICAgJ0BwaXhpL2xheWVycycsXG4gICAgICAgICAgJ0BwaXhpL21lc2gnLFxuICAgICAgICAgICdAcGl4aS9tZXNoLWV4dHJhcycsXG4gICAgICAgICAgJ0BwaXhpL3RpY2tlcicsXG4gICAgICAgICAgJ0BwaXhpL3V0aWxzJyxcbiAg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