Updated coincident to use a local channel (#2195)

* Updated coincident to use a local channel
This commit is contained in:
Andrea Giammarchi
2024-09-30 14:03:33 +02:00
committed by GitHub
parent 2642be863b
commit 8de97a7e7b
7 changed files with 48 additions and 28 deletions

View File

@@ -13,7 +13,12 @@ for (const file of readdirSync(join(__dirname, "..", "src", "plugins"))) {
plugins.push(
// this comment is needed to avoid bundlers eagerly embedding lazy
// dependencies, causing all sort of issues once in production
` ${key}: () => import(/* webpackIgnore: true */ ${value}),`,
// ⚠️ THIS HAS TO BE LIKE THIS or prettier changes it every single time
` ${key}: () =>
import(
/* webpackIgnore: true */
${value}
),`,
);
}
}