Closed leobar37 closed 2 years ago
I want to use the schema extension from keystone js , and i want to use type-graphl to make the schema. but i came across a problem.
It does not allow me to add decorators, I could solve this, by adding the following preset to the configuration.
{ "plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]] }
But I can't figure out how to add this preset.
Hi @leobar37 Keystone currently does not support custom babel configs because we don't want to be coupled to babel. For e.g. we partially use SWC and we are moving in the direction of exclusively using SWC.
I want to use the schema extension from keystone js , and i want to use type-graphl to make the schema. but i came across a problem.
It does not allow me to add decorators, I could solve this, by adding the following preset to the configuration.
But I can't figure out how to add this preset.