Skip to content

Commit

Permalink
Changed rollup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraMerdol committed Jan 17, 2024
1 parent b347f11 commit a3c910c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a3c910c

Please sign in to comment.