From 2724453a4224136e41f79d1aa9c7c6a0ea9585fb Mon Sep 17 00:00:00 2001 From: Midhun Suresh <midhunr@element.io> Date: Tue, 8 Feb 2022 17:13:26 +0530 Subject: [PATCH] Do not asset hash parent.js file --- parent-vite.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parent-vite.config.js b/parent-vite.config.js index 1ca929f..7eb85dc 100644 --- a/parent-vite.config.js +++ b/parent-vite.config.js @@ -9,9 +9,11 @@ module.exports = defineConfig({ input: { parent: resolve(__dirname, "index.html"), }, + output: { + entryFileNames: "assets/[name].js", + }, }, outDir: "./target/parent", - target: 'esnext', assetsInlineLimit: 0, }, define: { -- GitLab