Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/build/rollup.base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,13 @@ export function createCJSConfig({
createResolvePlugin(),
createCommonjsPlugin(),
...preSwcPlugins,
createSwcPlugin(swc),
createSwcPlugin({
module: {
type: 'commonjs',
noInterop: false,
},
...swc,
}),
createWrapWarningsWithDevCheckPlugin(),
createReplacePlugin({ mode: 'production', additional: replaceImports }),
createStripJsxPragmaPlugin(),
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2844,7 +2844,7 @@
dependencies:
"@hapi/hoek" "^8.3.0"

"@hapi/topo@^5.0.0", "@hapi/topo@^5.1.0":
"@hapi/topo@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012"
integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==
Expand Down Expand Up @@ -5493,14 +5493,14 @@
component-type "^1.2.1"
join-component "^1.1.0"

"@sideway/address@^4.1.3", "@sideway/address@^4.1.5":
"@sideway/address@^4.1.5":
version "4.1.5"
resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5"
integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==
dependencies:
"@hapi/hoek" "^9.0.0"

"@sideway/formula@^3.0.0", "@sideway/formula@^3.0.1":
"@sideway/formula@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f"
integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==
Expand Down