diff --git a/src/createRollupConfig.js b/src/createRollupConfig.js index a9f9f7480..ea3fb321b 100644 --- a/src/createRollupConfig.js +++ b/src/createRollupConfig.js @@ -32,7 +32,7 @@ export function createRollupConfig(format, env, opts) { // Establish Rollup output output: { // Set filenames of the consumer's package - file: `${paths.appDist}/${safeVariableName( + file: `${paths.appDist}/${safePackageName( opts.name )}.${format}.${env}.js`, // Pass through the file format