strapi-community / strapi-plugin-local-image-sharp

Dynamically resize, format and optimize images based on url modifiers.
https://strapi-community.github.io/strapi-plugin-local-image-sharp/
65 stars 17 forks source link

Providing default plugin configuration does not work #28

Closed djelic closed 1 year ago

djelic commented 1 year ago

Looks like default plugin configuration is exported as default export:

// src/config/index.js

module.exports = {

And used as const import:

// src/index.js
const { config } = require('./config');

PR #27 should resolve this issue.

stafyniaksacha commented 1 year ago

Fixed by #29