Skip to content

Commit

Permalink
feat: change build to target ES6 (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed Jul 23, 2023
1 parent 6c16bac commit bdc3d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/dev-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.createRollupConfig = (typescript) => {
format: "esm",
exports: "auto",
},
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript, target: 'ES6', })],
},
{
external,
Expand All @@ -26,7 +26,7 @@ exports.createRollupConfig = (typescript) => {
format: "cjs",
exports: "auto",
},
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript, target: 'ES6', })],
},
];
};

0 comments on commit bdc3d87

Please sign in to comment.