MCPcopy Create free account
hub / github.com/adobe/react-spectrum / webpack

Function webpack

examples/s2-next-macros/next.config.mjs:13–23  ·  view source on GitHub ↗
(config, {})

Source from the content-addressed store, hash-verified

11 ? `/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/s2-next-macros`
12 : '',
13 webpack(config, {}) {
14 config.plugins.push(macrosWebpack);
15
16 config.module.rules.push({
17 test: /\.svg$/i,
18 issuer: /\.[jt]sx?$/,
19 use: ['@svgr/webpack']
20 });
21
22 return config;
23 }
24};
25
26export default nextConfig;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected