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 69a8b11 commit c452bffCopy full SHA for c452bff
rolldown.config.js
@@ -28,13 +28,13 @@ function getConfig(project) {
28
const external = [
29
// As of now, Rolldown doesn't transform cjs `require` calls into esm imports, so we need to
30
// manually externalize packages that use cjs.
31
- /^commander\w*/g,
32
- /^picocolors\w*/g,
33
- /^postcss\w*/g,
34
- /^recast\w*/g,
+ /commander/,
+ /picocolors/,
+ /postcss/,
+ /recast/,
35
// TODO: investigate why Rolldown is transforming dedent into malformed code
36
- /^dedent\w*/g,
37
- /^@svelte-cli\/core\w*/g
+ /dedent/,
+ /@svelte-cli\/core/
38
];
39
40
/** @type {Plugin[]} */
0 commit comments