Config in plugins.js not applied

System Information
  • Strapi Version: 3.6.5
  • Operating System: MacOs
  • Database: Mongodb
  • Node Version: v16.4.2
  • NPM Version: v7.18.1
  • Yarn Version: 1.22.10

Im facing an issue with the my plugins.js file. All the config i wrote for Graphql and Sendgrid plugins are not applied.

I have set ammountLimit to 1000 for Graphql and I verified that it’s not appliying by running with strapi console command then calling strapi.plugins.graphql.config.amountLimit which return 100 ( i guess its the default ).

My current file sturcture:

  - config/
      - env/
          - development/
               - plugins.js
           - production/
               - plugins.js

What i have tried:

  • Dowgrading to 3.6.2
  • Renaming the file as plugin.js
  • Including the config directly in settings.js file in extensions/graphql/config
1 Like

hello, did you find a solution to your problem?