Skip to content

Commit

Permalink
chore(build): Generate named umd bundles (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelgevold authored and brandonroberts committed Mar 7, 2018
1 parent 9b02f79 commit d98915f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ export async function createUmdBundles(config: Config) {

const destinationName = util.getDestinationName(pkg);

const rollupArgs = [`-c ./modules/${pkg}/rollup.config.js`, `--sourcemap`];
const rollupArgs = [
`-c ./modules/${pkg}/rollup.config.js`,
`--sourcemap`,
`--amd.id ${config.scope}/${pkg}`,
];

await util.exec('rollup', rollupArgs);
await util.mapSources(
Expand Down

0 comments on commit d98915f

Please sign in to comment.