Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Aug 22, 2024
1 parent 69a8b11 commit c452bff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rolldown.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ function getConfig(project) {
const external = [
// As of now, Rolldown doesn't transform cjs `require` calls into esm imports, so we need to
// manually externalize packages that use cjs.
/^commander\w*/g,
/^picocolors\w*/g,
/^postcss\w*/g,
/^recast\w*/g,
/commander/,
/picocolors/,
/postcss/,
/recast/,
// TODO: investigate why Rolldown is transforming dedent into malformed code
/^dedent\w*/g,
/^@svelte-cli\/core\w*/g
/dedent/,
/@svelte-cli\/core/
];

/** @type {Plugin[]} */
Expand Down

0 comments on commit c452bff

Please sign in to comment.