Skip to content

Commit

Permalink
fix(rollup): compile .esm target to ES5 instead of ES6
Browse files Browse the repository at this point in the history
fix #15
  • Loading branch information
derrickbeining committed Nov 21, 2019
1 parent e64b382 commit 231ab14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { uglify } from "rollup-plugin-uglify";
// tslint:disable-next-line:no-var-requires
const pkg = require("./package.json");
const tsESM = typescript({
tsconfigOverride: { compilerOptions: { target: "es6" } },
tsconfigOverride: { compilerOptions: { target: "es5" } },
useTsconfigDeclarationDir: true
});
const tsUMD = typescript({
Expand Down

0 comments on commit 231ab14

Please sign in to comment.