From 740c5196aa8f55a19dfca8e68ce725005efc67e1 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Sat, 10 Jun 2023 00:51:24 +0100 Subject: [PATCH] chore: avoid warning during build "empty chunk: dummy" --- src/dummy.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dummy.mjs b/src/dummy.mjs index a7764dc..86fdc82 100644 --- a/src/dummy.mjs +++ b/src/dummy.mjs @@ -1 +1,2 @@ // This is a dummy module for vite/rollup to resolve. +Object.defineProperty(Object.create(null), { sideEffects: true });