Closed Etheliene closed 2 years ago
So far I have figured out that the plugin makes the following assumptions to my codebase:
staticDir
error - unhandledRejection: TypeError: Cannot read properties of undefined (reading 'indexOf') at payload-webp\lib\WebpCollection.js:113:45
payload.config.ts|js
[admin.](webpack: (config) => config,)
TypeError: Cannot read properties of undefined (reading 'webpack') \payload-webp\lib\Plugin.js:273 var incomingWebpackConfig = this.payloadConfig.admin.webpack;
Please update documentation
Hi Etheliene,
So far I have figured out that the plugin makes the following assumptions to my codebase:
staticDir
to be defined or generation will failpayload.config.ts|js
needs at least[admin.](webpack: (config) => config,)
if you don't need a custom config or build will fail, as described in #6Please update documentation