Skip to content

Commit

Permalink
fix(rollup): add module override
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSolati committed Jun 7, 2020
1 parent f00ff20 commit a45529e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ const onwarn = (warning, rollupWarn) => {
}
};

const plugins = [typescript(), resolve(), commonjs()];
const plugins = [
typescript({
tsconfigOverride: {
compilerOptions: {
module: 'ESNext',
},
},
}),
resolve(),
commonjs(),
];

export default [
{
Expand Down

0 comments on commit a45529e

Please sign in to comment.