MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / webpack

Function webpack

next.config.js:2–18  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

1module.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};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected