diff --git a/plugins/gulp-sharp/gulpfile.mjs b/plugins/gulp-sharp/gulpfile.mjs index 3733c35..7d9835b 100644 --- a/plugins/gulp-sharp/gulpfile.mjs +++ b/plugins/gulp-sharp/gulpfile.mjs @@ -35,7 +35,7 @@ async function compile(variant) { const builder = await rollup({ input: `./src/index.js`, plugins: rollupPlugins, - external: ["sharp"], + external: ["sharp", "yoctocolors"], }); await builder.write({ diff --git a/plugins/gulp-sharp/package.json b/plugins/gulp-sharp/package.json index a1c6b04..0db5ce1 100644 --- a/plugins/gulp-sharp/package.json +++ b/plugins/gulp-sharp/package.json @@ -38,7 +38,9 @@ "@rollup/plugin-terser": "catalog:", "gulp": "catalog:", "rimraf": "catalog:", - "rollup": "catalog:", + "rollup": "catalog:" + }, + "dependencies": { "yoctocolors": "^2.2.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f562bd7..d883684 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -83,6 +83,9 @@ importers: sharp: specifier: '>=0.33' version: 0.35.1 + yoctocolors: + specifier: ^2.2.0 + version: 2.2.0 devDependencies: '@babel/core': specifier: 'catalog:' @@ -114,9 +117,6 @@ importers: rollup: specifier: 'catalog:' version: 4.63.5 - yoctocolors: - specifier: ^2.2.0 - version: 2.2.0 packages: