(config)
| 1 | module.exports = { |
| 2 | webpack(config) { |
| 3 | if (config.resolve.fallback) { |
| 4 | /* eslint-disable no-param-reassign */ |
| 5 | config.resolve.fallback.fs = false; |
| 6 | /* eslint-enable no-param-reassign */ |
| 7 | } |
| 8 | |
| 9 | /* |
| 10 | This rule fix error during building |
| 11 | with yaml/browser used by fast-xml-parser |
| 12 | */ |
| 13 | config.module.rules.push({ |
| 14 | test: /node_modules\/yaml\/browser\//, |
| 15 | type: 'javascript/auto', |
| 16 | }); |
| 17 | return config; |
| 18 | }, |
| 19 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected