fix: remove temp file
parent
f9ede5f3ef
commit
e99a14262b
|
@ -1,28 +0,0 @@
|
|||
// vite.config.ts
|
||||
import react from "file:///C:/Users/Sebastien/git/el/resistants/node_modules/@vitejs/plugin-react-swc/index.mjs";
|
||||
import { defineConfig } from "file:///C:/Users/Sebastien/git/el/resistants/node_modules/vite/dist/node/index.js";
|
||||
import { imagetools } from "file:///C:/Users/Sebastien/git/el/resistants/node_modules/vite-imagetools/dist/index.js";
|
||||
var vite_config_default = defineConfig({
|
||||
plugins: [react(), imagetools()],
|
||||
base: "/resistants",
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
// this name is used in the code to inject module in squarespace
|
||||
entryFileNames: "resistants.js",
|
||||
assetFileNames: (meta) => {
|
||||
const name = meta.name;
|
||||
if (name !== "squarespace-site.css" && name.indexOf(".css") > 0) {
|
||||
return "resistants.css";
|
||||
}
|
||||
return "assets/[name]-[hash].[ext]";
|
||||
}
|
||||
}
|
||||
},
|
||||
outDir: "public"
|
||||
}
|
||||
});
|
||||
export {
|
||||
vite_config_default as default
|
||||
};
|
||||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxTZWJhc3RpZW5cXFxcZ2l0XFxcXGVsXFxcXHJlc2lzdGFudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkM6XFxcXFVzZXJzXFxcXFNlYmFzdGllblxcXFxnaXRcXFxcZWxcXFxccmVzaXN0YW50c1xcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vQzovV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