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

Function productionConfig

packages/sample-app/webpack.config.babel.js:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 ])
42
43const productionConfig = () =>
44 group([
45 css.modules(),
46 postcss({
47 plugins: [cssnano()]
48 }),
49 extractText('css/[name].[contenthash:hex:8].css')
50 ])
51
52module.exports = createConfig([
53 setMode(process.env.NODE_ENV || 'development'),

Callers 1

Calls 3

groupFunction · 0.85
postcssFunction · 0.85
extractTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…