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

Function plugins

scripts/webpack.js:55–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

baseConfigFunction · 0.70
webpack.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected