webpack: Remove source-map generation, customize logging
| @@ -3,9 +3,13 @@ export const publicLibConfig = { | |||
| 3 | mode: 'production', | 3 | mode: 'production', |
| 4 | entry: './public/lib.js', | 4 | entry: './public/lib.js', |
| 5 | cache: true, | 5 | cache: true, |
| 6 | devtool: 'source-map', | 6 | devtool: false, |
| 7 | module: {}, | 7 | module: {}, |
| 8 | stats: 'minimal', | 8 | stats: { |
| 9 | preset: 'minimal', | ||
| 10 | assets: false, | ||
| 11 | modules: false, | ||
| 12 | }, | ||
| 9 | experiments: { | 13 | experiments: { |
| 10 | outputModule: true, | 14 | outputModule: true, |
| 11 | }, | 15 | }, |