From e0566a36dd6936b5c46273b5885c8c6191566fca Mon Sep 17 00:00:00 2001 From: Jared Palmer Date: Mon, 29 Apr 2019 14:25:45 -0400 Subject: [PATCH] Use safePackageName to name file --- src/createRollupConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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