vince-fly
vince-fly
i use static in enhancecomponent class or enhancecomponent.defaultProps,but i can not visit the prop,why?
os:windows/ubuntu(linux) nodejs:16.xx pnpm: 8.5.1 vitepress: 0.22.4 build error: Error [ERR_REQUIRE_ESM]: require() of ES Module xx\node_modules\.pnpm\[email protected]\node_modules\splitpanes\dist\splitpanes.umd.js from xx\node_modules\.pnpm\[email protected][email protected]\node_modules\nuzar-plus\lib\components\splitpanes\src\pane.js not supported. splitpanes.umd.js is treated as an ES module file as it is...
antd-mobile\\lib\\icon\\style\\index.css:1\n(function (exports, require, module, __filename, __dirname) { .am-icon {\n ^\n\nSyntaxError: Unexpected token .\n at createScript (vm.js:80:10)\n at Object.runInThisContext (vm.js:139:10)\n at Module._compile (module.js:599:28)\n at Module._extensions..js (module.js:646:10)\n at Object.newLoader [as .js] (d:\\codes\\web-app-h5\\node_modules\\pirates\\lib\\index.js:93:7)\n...