From a3c910c29831e88b003d6832fb6504cf58d073c3 Mon Sep 17 00:00:00 2001 From: laramerdol Date: Wed, 17 Jan 2024 11:55:42 +0300 Subject: [PATCH] Changed rollup.js --- rollup.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index dc6f243..4790bb9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -16,16 +16,12 @@ export default [ format: "umd", exports: "auto", plugins: [isProduction && terser()], - globals: { - html2canvas: 'html2canvas', // Specify the global variable for html2canvas - } }, plugins: [ nodeResolve(), // so Rollup can find `ms` commonjs(), // so Rollup can convert `ms` to an ES module typescript(), // so Rollup can convert TypeScript to JavaScript ], - external: ['html2canvas'] }, // CommonJS (for Node) and ES module (for bundlers) build.