MCPcopy Index your code
hub / github.com/andywer/webpack-blocks / resolve

Function resolve

packages/webpack/index.js:143–151  ·  view source on GitHub ↗

* @see https://webpack.js.org/configuration/resolve/

(config)

Source from the content-addressed store, hash-verified

141 * @see https://webpack.js.org/configuration/resolve/
142 */
143function resolve(config) {
144 const strategy = { 'resolve.extensions': 'prepend' }
145 const merge = webpackMerge.smartStrategy(strategy)
146
147 return () => prevConfig =>
148 merge(prevConfig, {
149 resolve: config
150 })
151}
152
153/**
154 * @see https://webpack.github.io/docs/configuration.html#context

Callers 2

runWebpackFunction · 0.85

Calls 1

mergeFunction · 0.85

Tested by 1

runWebpackFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…