diff --git a/packages/base-rollup-config/index.mjs b/packages/base-rollup-config/index.mjs index 515a3335..e5f4adad 100644 --- a/packages/base-rollup-config/index.mjs +++ b/packages/base-rollup-config/index.mjs @@ -21,7 +21,11 @@ import typescript from "@rollup/plugin-typescript"; export const createSharedConfig = (pkg) => ({ - plugins: [typescript()], + plugins: [typescript({ + compilerOptions: { + module: 'ESNext' + } + })], external: [ ...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {}),