when source code or package code (node_modules) existes *.data.js/mjs/ts/mts , will invoke staticDataPlugin.load then loadConfigFromFile throw error "Could not load xxx.data.js: config must export or return an object".
Reproduction
git clone https://github.com/cocaine-coder/babylon-toolkits.git
cd babylon-toolkits
yarn
yarn docs:build
Describe the bug
when source code or package code (node_modules) existes *.data.js/mjs/ts/mts , will invoke staticDataPlugin.load then loadConfigFromFile throw error "Could not load xxx.data.js: config must export or return an object".
Reproduction
Expected behavior
build successfully
System Info
Additional context
No response
Validations