Environment
Jiti v1.21.1 does not seem to be retro-compatible with v1.21.0 and breaks Docusaurus usage due to dependency being upgraded
facebook/docusaurus#10199
Reproduction
yarn create docusaurus
It fails on yarn start
But it gets fixed once we resolve to former Jiti version
"resolutions": {
"jiti": "1.21.0"
},
Describe the bug
Not sure exactly what happens here but it looks like Docusaurus does not see anymore the named export callbacks we call by convention on our Docusaurus plugins.
var options_1 = require("./options");
Object.defineProperty(exports, "validateOptions", { enumerable: true, get: function () { return options_1.validateOptions; } });
The validateOptions export should be called by Docusaurus core, but it is not called anymore, so it seems modules loaded by Jiti are slightly different from before.
Additional context
No response
Logs
No response
Environment
Jiti v1.21.1 does not seem to be retro-compatible with v1.21.0 and breaks Docusaurus usage due to dependency being upgraded
facebook/docusaurus#10199
Reproduction
yarn create docusaurusIt fails on
yarn startBut it gets fixed once we resolve to former Jiti version
Describe the bug
Not sure exactly what happens here but it looks like Docusaurus does not see anymore the named export callbacks we call by convention on our Docusaurus plugins.
The
validateOptionsexport should be called by Docusaurus core, but it is not called anymore, so it seems modules loaded by Jiti are slightly different from before.Additional context
No response
Logs
No response