diff --git a/config/rollup.config.js b/config/rollup.config.js index 90dd8f56dec..d7be3528609 100644 --- a/config/rollup.config.js +++ b/config/rollup.config.js @@ -8,7 +8,7 @@ import cleanup from "rollup-plugin-cleanup"; const entryPoints = require("./entryPoints"); const distDir = "./dist"; -const removeComments = cleanup({}); +const removeComments = cleanup({ comments: ["some", /#__PURE__/] }); function isExternal(id, parentId, entryPointsAreExternal = true) { let posixId = toPosixPath(id);