Skip to content

Commit b1a0616

Browse files
committed
Don't both minifying error messages in React I/O libraries
These are small enough that they don't contain many error messages. Not worth it.
1 parent 470a376 commit b1a0616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/rollup/bundles.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const bundles = [
137137
moduleType: ISOMORPHIC,
138138
entry: 'react-fetch/index.browser',
139139
global: 'ReactFetch',
140-
minifyWithProdErrorCodes: true,
140+
minifyWithProdErrorCodes: false,
141141
externals: ['react'],
142142
},
143143

@@ -157,7 +157,7 @@ const bundles = [
157157
moduleType: ISOMORPHIC,
158158
entry: 'react-fs/index.browser.server',
159159
global: 'ReactFilesystem',
160-
minifyWithProdErrorCodes: true,
160+
minifyWithProdErrorCodes: false,
161161
externals: [],
162162
},
163163

@@ -177,7 +177,7 @@ const bundles = [
177177
moduleType: ISOMORPHIC,
178178
entry: 'react-pg/index.browser.server',
179179
global: 'ReactPostgres',
180-
minifyWithProdErrorCodes: true,
180+
minifyWithProdErrorCodes: false,
181181
externals: [],
182182
},
183183

0 commit comments

Comments
 (0)