Comments (2)
It is possible they changed this but per the docs (and from what I have observed in the past) the envs should be merged with the base one.
I will check this and add any relevant info to the docs as needed.
from strapi-plugin-transformer.
Many people have reported problems with the plugin not working as documented. I had the same problem. I installed the plugin. Added ./config/plugins.js file as documented and nothing happened.
I found out that plugins.js file inside ./config folder is ignored by Strapi at least in the case you are having a ./config/env folder.
I managed to fix the issue by moving the plugins.js file inside my env folder's respective environment folders (development, production, ...).
Like this.
Before:
./config plugins.js
After:
./config /env /development plugins.js /production plugins.js
Could you add this to the documentation?
this doesn't seem to work either
Edit: My bad, i was exporting 2 modules at once in plugins.js
file.
from strapi-plugin-transformer.
Related Issues (20)
- [FR] add hook support HOT 2
- 'prefix' not applying on V2.2.0 and Strapi V4.5.5 HOT 3
- Transform response only for given API HOT 6
- TypeError: Cannot read properties of undefined (reading 'uid') HOT 20
- Config not being set correctly HOT 3
- DenyList is not working in my strapi project HOT 1
- hook example
- [FR] add transformation support for plugin APIs HOT 7
- remove "data" property from JSON Datatype HOT 3
- [bug] custom collections are not transformed HOT 7
- The plugin doesn't change the response
- Request to include modifyResponseBodyData as an available service method HOT 1
- strapi-plugin-publisher still has attributes key HOT 3
- Custom Path for content-type not registering middleware in v3.0 HOT 2
- DUPLICATE
- Is anyway to removeAttributesKey when i use strapi-plugin-menus HOT 1
- transformResponse is not working strapin v4.9.0. HOT 1
- Error de Login HOT 2
- [BUG] repeatable component with nested component that contains a relation is not transformed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-plugin-transformer.