Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 1 | module.exports = { |
2 | reactStrictMode: true, | ||||
pineafan | 7872745 | 2021-11-04 21:25:07 +0000 | [diff] [blame^] | 3 | webpack(config) { |
4 | config.module.rules.push({ | ||||
5 | test: /\.svg$/, | ||||
6 | use: [ | ||||
7 | { | ||||
8 | loader: "@svgr/webpack", | ||||
9 | options: { | ||||
10 | svgo: false, // Optimization caused bugs with some of my SVGs | ||||
11 | }, | ||||
12 | }, | ||||
13 | ], | ||||
14 | }); | ||||
15 | return config; | ||||
16 | }, | ||||
17 | } |