From f31f25aac9c292dc91a4dca4856726ae238ba2dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 18 Sep 2022 20:37:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A6=20Change=20Vite=20commonjs=20confi?= =?UTF-8?q?g=20to=20make=20swell-js=20working=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit swell-js is being dissident with its requires --- vite.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vite.config.js b/vite.config.js index 40ad2df..d20fe6e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,6 +13,11 @@ const config = { } } }, + build: { + commonjsOptions: { + transformMixedEsModules: true, + } + }, } export default config \ No newline at end of file