Skip to content

Commit

Permalink
Fix source mapping for es version
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenschobert committed Sep 6, 2020
1 parent bf45b7a commit 2d690eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async function build() {
});

const esUnminResult = minify({
[srcName]: esModule.code
[esUnminName]: esModule.code
}, {
warnings: 'verbose',
ecma: 5,
Expand All @@ -71,7 +71,7 @@ async function build() {
});

const esMinResult = minify({
[srcName]: esUnminResult.code
[esUnminName]: esUnminResult.code
}, {
warnings: 'verbose',
ecma: 5,
Expand All @@ -96,7 +96,7 @@ async function build() {
});

const umdUnminResult = minify({
[srcName]: umdModule.code
[umdUnminName]: umdModule.code
}, {
warnings: 'verbose',
ecma: 5,
Expand All @@ -113,7 +113,7 @@ async function build() {
});

const umdMinResult = minify({
[srcName]: umdUnminResult.code
[umdUnminName]: umdUnminResult.code
}, {
warnings: 'verbose',
ecma: 5,
Expand Down

0 comments on commit 2d690eb

Please sign in to comment.