Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit bc67849

Browse files
committed
Fix UMD library name
1 parent e0fa334 commit bc67849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const webpack = require("webpack");
55

66
const useMinification = process.env.BUILD_MINIFIED === "true";
77
const packageName = JSON.parse(fs.readFileSync("package.json", "utf8")).name;
8-
const libraryName = packageName.replace(/(^|-)(.)/g, (match, _, c) => (c ? c.toUpperCase() : ""));
8+
const libraryName = "ReactCSSTransition";
99

1010
const config = {
1111
entry: "./src/index.ts",

0 commit comments

Comments
 (0)