MCPcopy Create free account
hub / github.com/decaporg/decap-cms / plugins

Function plugins

scripts/webpack.js:59–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function plugins() {
60 return {
61 ignoreEsprima: () => new webpack.IgnorePlugin({ resourceRegExp: /^esprima$/ }),
62 friendlyErrors: () => new FriendlyErrorsWebpackPlugin(),
63 buffer: () =>
64 new webpack.ProvidePlugin({
65 Buffer: ['buffer', 'Buffer'],
66 }),
67 };
68}
69
70function stats() {
71 if (isProduction) {

Callers 2

baseConfigFunction · 0.70
webpack.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected