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

Function developmentConfig

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

Source from the content-addressed store, hash-verified

25const cssnano = require('cssnano')
26
27const developmentConfig = () =>
28 group([
29 sourceMaps(),
30 devServer({
31 proxy: {
32 '/api/*': { target: 'http://localhost:4000' }
33 }
34 }),
35 performance({
36 // Increase performance budget thresholds for development mode
37 maxAssetSize: 1500000,
38 maxEntrypointSize: 1500000
39 }),
40 css.modules()
41 ])
42
43const productionConfig = () =>
44 group([

Callers 1

Calls 4

groupFunction · 0.85
sourceMapsFunction · 0.85
devServerFunction · 0.85
performanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…