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

Function test

examples/s2-webpack-5-example/webpack.config.js:99–105  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

97 s2: {
98 name: 's2-styles',
99 test(module) {
100 return (
101 module.type === 'css/mini-extract' &&
102 (module.identifier().includes('@react-spectrum/s2') ||
103 /\.macro-(.*?)\.css/.test(module.identifier()))
104 );
105 },
106 chunks: 'all',
107 enforce: true
108 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected