@ -12,7 +12,7 @@ export default function amd ( bundle, magicString, { exportMode, indentString },
}
const params =
( options.moduleId ? `['${options.moduleId}'], ` : `` ) +
( options.moduleId ? `'${options.moduleId}', ` : `` ) +
( deps.length ? `[${deps.join( ', ' )}], ` : `` );
const intro = `define(${params}function (${args.join( ', ' )}) { 'use strict';\n\n`;
@ -27,7 +27,7 @@ export default function umd ( bundle, magicString, { exportMode, indentString },
const amdParams =
( amdDeps.length ? `[${amdDeps.join( ', ' )}], ` : `` );
const cjsExport = exportMode === 'default' ? `module.exports = ` : ``;