From d98915f000c1414c2958850976f1b82415a0c102 Mon Sep 17 00:00:00 2001 From: Torgeir Helgevold Date: Tue, 6 Mar 2018 19:46:25 -0500 Subject: [PATCH] chore(build): Generate named umd bundles (#893) --- build/tasks.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/tasks.ts b/build/tasks.ts index d24465bd58..c678839ae2 100644 --- a/build/tasks.ts +++ b/build/tasks.ts @@ -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(