|
@@ -142,7 +142,8 @@ const config = {
|
142
|
142
|
// value that is a mock (/index.js).
|
143
|
143
|
__filename: true,
|
144
|
144
|
|
145
|
|
- // Provide an empty 'fs' module.
|
|
145
|
+ // Provide some empty Node modules (required by olm).
|
|
146
|
+ crypto: 'empty',
|
146
|
147
|
fs: 'empty'
|
147
|
148
|
},
|
148
|
149
|
optimization: {
|
|
@@ -190,7 +191,7 @@ module.exports = [
|
190
|
191
|
entry: {
|
191
|
192
|
'app.bundle': './app.js'
|
192
|
193
|
},
|
193
|
|
- performance: getPerformanceHints(4.5 * 1024 * 1024)
|
|
194
|
+ performance: getPerformanceHints(4 * 1024 * 1024)
|
194
|
195
|
}),
|
195
|
196
|
Object.assign({}, config, {
|
196
|
197
|
entry: {
|