Skip to content

Commit

Permalink
Update src/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Miller <[email protected]>
  • Loading branch information
hanai and developit authored Jun 20, 2020
1 parent da36404 commit cf7a2f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,12 @@ function createConfig(options, entry, format, writeMeta) {
}

let amd = {};
if (options['amd.id']) {
amd.id = options['amd.id'];
if (options.amdName) {
amd.id = options.amdName;
}

if (options['amd.define']) {
amd.define = options['amd.define'];
if (options.amdDefine) {
amd.define = options.amdDefine;
}

const moduleAliases = options.alias
Expand Down

0 comments on commit cf7a2f3

Please sign in to comment.