Skip to content

Commit 708baab

Browse files
fix typo rollup config (#38)
1 parent eb76907 commit 708baab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@
106106
"npm run lint:fix"
107107
],
108108
"*.{md,json}": [
109-
"prettier --write",
110-
"git add"
109+
"prettier --write"
111110
]
112111
}
113112
}

rollup/createRollupConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import pkg from '../package.json';
1414

1515
export function createRollupConfig(options) {
1616
const name = options.name || safePackageName(pkg.name);
17-
const umdName = options.undName || pascalcase(safePackageName(pkg.name));
17+
const umdName = options.umdName || pascalcase(safePackageName(pkg.name));
1818
const shouldMinify = options.minify || options.env === 'production';
1919
const tsconfigPath = options.tsconfig || 'tsconfig.json';
2020
const tsconfigJSON = ts.readConfigFile(tsconfigPath, ts.sys.readFile).config;

0 commit comments

Comments
 (0)