diff --git a/.yarn/versions/f5873988.yml b/.yarn/versions/f5873988.yml new file mode 100644 index 000000000000..7f94beec1377 --- /dev/null +++ b/.yarn/versions/f5873988.yml @@ -0,0 +1,12 @@ +releases: + "@yarnpkg/builder": minor + "@yarnpkg/cli": minor + +declined: + - "@yarnpkg/plugin-constraints" + - "@yarnpkg/plugin-exec" + - "@yarnpkg/plugin-interactive-tools" + - "@yarnpkg/plugin-stage" + - "@yarnpkg/plugin-typescript" + - "@yarnpkg/plugin-version" + - "@yarnpkg/plugin-workspace-tools" diff --git a/packages/yarnpkg-builder/sources/commands/build/bundle.ts b/packages/yarnpkg-builder/sources/commands/build/bundle.ts index 7a6140a5235e..22ff4e61f00f 100644 --- a/packages/yarnpkg-builder/sources/commands/build/bundle.ts +++ b/packages/yarnpkg-builder/sources/commands/build/bundle.ts @@ -141,7 +141,7 @@ export default class BuildBundleCommand extends Command { // Default extensions + .mjs resolveExtensions: [`.tsx`, `.ts`, `.jsx`, `.mjs`, `.js`, `.css`, `.json`], logLevel: `silent`, - format: `iife`, + format: `esm`, platform: `node`, plugins: [valLoader], minify: !this.noMinify,