Skip to content

Commit a9b78ad

Browse files
committed
fix(umd): now correctly use production string for UMD bundles
At the time of fixing this... ```sh yarn dev-utils libsize The gizipped UMD bundle sizes are: - dist/umd/react-md.production.min.js 82.51 KB (- 1.63 KB) - dist/umd/react-md-with-font-icons.production.min.js 106.63 KB (- 1.53 KB) - dist/umd/react-md-with-svg-icons.production.min.js 172.64 KB (- 1.59 KB) ```
1 parent d3d122a commit a9b78ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createConfig(type) {
5454
resolve(),
5555
commonjs(),
5656
replace({
57-
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
57+
'process.env.NODE_ENV': JSON.stringify('production'),
5858
}),
5959
],
6060
};

0 commit comments

Comments
 (0)