We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439b1e5 commit 99cbaaaCopy full SHA for 99cbaaa
.config/rollup.base.config.mjs
@@ -231,7 +231,10 @@ export default function baseConfig(extendConfig = {}) {
231
preventAssignment: false,
232
values: builtinAliases
233
}),
234
- // Replace ESM package require('tiny-colors') with CJS package require('yoctocolors-cjs').
+ // Replace require calls to ESM 'tiny-colors' with CJS 'yoctocolors-cjs'
235
+ // because we npm override 'tiny-colors' with 'yoctocolors-cjs' for dist
236
+ // builds which causes 'tiny-colors' to be treated as an external, not bundled,
237
+ // require.
238
socketModifyPlugin({
239
find: requireTinyColorsRegExp,
240
replace: "require('yoctocolors-cjs')"
0 commit comments