diff --git a/gulpfile.js b/gulpfile.js index a47f33459..ee64e0d95 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -2168,8 +2168,10 @@ function packageJson() { homepage: DIST_HOMEPAGE, bugs: DIST_BUGS_URL, license: DIST_LICENSE, - dependencies: { + optionalDependencies: { canvas: "^2.10.1", + }, + dependencies: { "web-streams-polyfill": "^3.2.1", }, browser: {