vite: Uncaught TypeError: Cannot read property 'ToolItem' of undefined
Describe the bug
Throw error Uncaught TypeError: Cannot read property 'ToolItem' of undefined
.
And I’ve found an error in the bundle of @antv/x6 (ToolsView is used before definition):
/* ... */
var Button = class extends ToolsView.ToolItem // ...
/* ... */
var ToolsView = class extends View // ...
/* ... */
Reproduction
Please check this demo: vite-x6.zip
Without src/init.tsx:66
and src/init.tsx:6
, it works as exprected.
System Info
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:
System:
OS: Windows 10 10.0.19042
CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
Memory: 4.25 GB / 15.80 GB
Binaries:
Node: 14.12.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 7.5.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 90.0.4430.212
Edge: Spartan (44.19041.423.0), Chromium (90.0.818.56)
Internet Explorer: 11.0.19041.1
npmPackages:
vite: ^2.3.2 => 2.3.2
Used package manager: yarn
Logs
yarn vite --debug
yarn run v1.22.10
warning package.json: No license field
$ C:\Project\tmp\vite-x6\node_modules\.bin\vite --debug
vite:config bundled config file loaded in 92ms +0ms
vite:config using resolved config: {
vite:config plugins: [
vite:config 'vite:pre-alias',
vite:config 'alias',
vite:config 'react-refresh',
vite:config 'vite:dynamic-import-polyfill',
vite:config 'vite:resolve',
vite:config 'vite:html',
vite:config 'vite:css',
vite:config 'vite:esbuild',
vite:config 'vite:json',
vite:config 'vite:wasm',
vite:config 'vite:worker',
vite:config 'vite:asset',
vite:config 'vite:define',
vite:config 'vite:css-post',
vite:config 'vite:client-inject',
vite:config 'vite:import-analysis'
vite:config ],
vite:config server: { fsServe: { root: 'C:/Project/tmp/vite-x6', strict: false } },
vite:config configFile: 'C:/Project/tmp/vite-x6/vite.config.ts',
vite:config configFileDependencies: [ 'vite.config.ts' ],
vite:config inlineConfig: {
vite:config root: undefined,
vite:config base: undefined,
vite:config mode: undefined,
vite:config configFile: undefined,
vite:config logLevel: undefined,
vite:config clearScreen: undefined,
vite:config server: { fsServe: [Object] }
vite:config },
vite:config root: 'C:/Project/tmp/vite-x6',
vite:config base: '/',
vite:config resolve: { dedupe: undefined, alias: [ [Object] ] },
vite:config publicDir: 'C:\\Project\\tmp\\vite-x6\\public',
vite:config cacheDir: 'C:\\Project\\tmp\\vite-x6\\node_modules\\.vite',
vite:config command: 'serve',
vite:config mode: 'development',
vite:config isProduction: false,
vite:config build: {
vite:config target: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
vite:config outDir: 'dist',
vite:config assetsDir: 'assets',
vite:config assetsInlineLimit: 4096,
vite:config cssCodeSplit: true,
vite:config sourcemap: false,
vite:config rollupOptions: {},
vite:config commonjsOptions: { include: [Array], extensions: [Array] },
vite:config minify: 'terser',
vite:config terserOptions: {},
vite:config cleanCssOptions: {},
vite:config write: true,
vite:config emptyOutDir: null,
vite:config manifest: false,
vite:config lib: false,
vite:config ssr: false,
vite:config ssrManifest: false,
vite:config brotliSize: true,
vite:config chunkSizeWarningLimit: 500,
vite:config watch: null
vite:config },
vite:config env: { BASE_URL: '/', MODE: 'development', DEV: true, PROD: false },
vite:config assetsInclude: [Function: assetsInclude],
vite:config logger: {
vite:config hasWarned: false,
vite:config info: [Function: info],
vite:config warn: [Function: warn],
vite:config warnOnce: [Function: warnOnce],
vite:config error: [Function: error],
vite:config clearScreen: [Function: clearScreen]
vite:config },
vite:config createResolver: [Function: createResolver],
vite:config optimizeDeps: { esbuildOptions: { keepNames: undefined } }
vite:config } +6ms
vite:deps Crawling dependencies using entries:
vite:deps C:/Project/tmp/vite-x6/index.html +0ms
vite:resolve 0ms /src/main.tsx -> C:/Project/tmp/vite-x6/src/main.tsx +0ms
vite:resolve 4ms react -> C:/Project/tmp/vite-x6/node_modules/react/index.js +6ms
vite:resolve 2ms react-dom -> C:/Project/tmp/vite-x6/node_modules/react-dom/index.js +7ms
vite:resolve 1ms ./App -> C:/Project/tmp/vite-x6/src/App.tsx +4ms
vite:resolve 1ms ./init -> C:/Project/tmp/vite-x6/src/init.tsx +2ms
vite:resolve 2ms insert-css -> C:/Project/tmp/vite-x6/node_modules/insert-css/index.js +4ms
vite:resolve 3ms antd -> C:/Project/tmp/vite-x6/node_modules/antd/es/index.js +4ms
vite:resolve 3ms @antv/x6 -> C:/Project/tmp/vite-x6/node_modules/@antv/x6/es/index.js +4ms
vite:resolve 1ms @antv/x6-react-shape -> C:/Project/tmp/vite-x6/node_modules/@antv/x6-react-shape/es/index.js +2ms
vite:deps Scan completed in 62ms: {
react: 'C:/Project/tmp/vite-x6/node_modules/react/index.js',
'react-dom': 'C:/Project/tmp/vite-x6/node_modules/react-dom/index.js',
'insert-css': 'C:/Project/tmp/vite-x6/node_modules/insert-css/index.js',
antd: 'C:/Project/tmp/vite-x6/node_modules/antd/es/index.js',
'@antv/x6': 'C:/Project/tmp/vite-x6/node_modules/@antv/x6/es/index.js',
'@antv/x6-react-shape': 'C:/Project/tmp/vite-x6/node_modules/@antv/x6-react-shape/es/index.js'
} +54ms
Pre-bundling dependencies:
react
react-dom
insert-css
antd
@antv/x6
(...and 1 more)
(this will be run only when your dependencies or config have changed)
vite:resolve 0ms object-assign -> null +0ms
vite:resolve 2ms object-assign -> C:/Project/tmp/vite-x6/node_modules/object-assign/index.js +0ms
vite:resolve 1ms jquery -> null +9ms
vite:resolve 2ms jquery -> C:/Project/tmp/vite-x6/node_modules/jquery/dist/jquery.js +0ms
vite:resolve 0ms scheduler -> null +57ms
vite:resolve 3ms scheduler -> C:/Project/tmp/vite-x6/node_modules/scheduler/index.js +66ms
vite:resolve 0ms scheduler/tracing -> null +4ms
vite:resolve 0ms scheduler/tracing -> C:/Project/tmp/vite-x6/node_modules/scheduler/tracing.js +2ms
vite:resolve 0ms lodash-es -> null +2ms
vite:resolve 3ms lodash-es -> C:/Project/tmp/vite-x6/node_modules/lodash-es/lodash.js +74ms
vite:resolve 0ms @babel/runtime/helpers/esm/extends -> null +53ms
vite:resolve 0ms @babel/runtime/helpers/esm/defineProperty -> null +0ms
vite:resolve 11ms @babel/runtime/helpers/esm/extends -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/extends.js +51ms
vite:resolve 11ms @babel/runtime/helpers/esm/defineProperty -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0ms
vite:resolve 2ms mousetrap -> null +15ms
vite:resolve 2ms rc-picker/es/generate/moment -> null +0ms
vite:resolve 2ms jquery-mousewheel -> null +1ms
vite:resolve 38ms mousetrap -> C:/Project/tmp/vite-x6/node_modules/mousetrap/mousetrap.js +42ms
vite:resolve 38ms rc-picker/es/generate/moment -> C:/Project/tmp/vite-x6/node_modules/rc-picker/es/generate/moment.js +0ms
vite:resolve 38ms jquery-mousewheel -> C:/Project/tmp/vite-x6/node_modules/jquery-mousewheel/jquery.mousewheel.js +0ms
vite:resolve 6ms rc-util/es/warning -> null +47ms
vite:resolve 7ms @babel/runtime/helpers/esm/slicedToArray -> null +1ms
vite:resolve 6ms @babel/runtime/helpers/esm/typeof -> null +0ms
vite:resolve 5ms @babel/runtime/helpers/esm/toConsumableArray -> null +0ms
vite:resolve 3ms @babel/runtime/helpers/esm/classCallCheck -> null +1ms
vite:resolve 106ms rc-util/es/warning -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/warning.js +117ms
vite:resolve 107ms @babel/runtime/helpers/esm/slicedToArray -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1ms
vite:resolve 107ms @babel/runtime/helpers/esm/typeof -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/typeof.js +0ms
vite:resolve 109ms @babel/runtime/helpers/esm/toConsumableArray -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2ms
vite:resolve 110ms @babel/runtime/helpers/esm/classCallCheck -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1ms
vite:resolve 8ms moment -> null +123ms
vite:resolve 9ms @ant-design/icons/es/components/Context -> null +1ms
vite:resolve 8ms rc-util/es/omit -> null +0ms
vite:resolve 5ms @babel/runtime/helpers/esm/createClass -> null +1ms
vite:resolve 24ms moment -> C:/Project/tmp/vite-x6/node_modules/moment/dist/moment.js +40ms
vite:resolve 24ms @ant-design/icons/es/components/Context -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/components/Context.js +0ms
vite:resolve 24ms rc-util/es/omit -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/omit.js +0ms
vite:resolve 25ms @babel/runtime/helpers/esm/createClass -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/createClass.js +1ms
vite:resolve 0ms classnames -> null +30ms
vite:resolve 2ms classnames -> C:/Project/tmp/vite-x6/node_modules/classnames/index.js +7ms
vite:resolve 6ms rc-rate -> null +10ms
vite:resolve 6ms @ant-design/react-slick -> null +0ms
vite:resolve 6ms rc-field-form -> null +1ms
vite:resolve 5ms @babel/runtime/regenerator -> null +0ms
vite:resolve 5ms @babel/runtime/helpers/esm/inherits -> null +1ms
vite:resolve 16ms @babel/runtime/helpers/esm/assertThisInitialized -> null +12ms
vite:resolve 27ms rc-rate -> C:/Project/tmp/vite-x6/node_modules/rc-rate/es/index.js +49ms
vite:resolve 28ms @ant-design/react-slick -> C:/Project/tmp/vite-x6/node_modules/@ant-design/react-slick/es/index.js +1ms
vite:resolve 28ms rc-field-form -> C:/Project/tmp/vite-x6/node_modules/rc-field-form/es/index.js +0ms
vite:resolve 29ms @babel/runtime/regenerator -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/regenerator/index.js +1ms
vite:resolve 30ms @babel/runtime/helpers/esm/inherits -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/inherits.js +1ms
vite:resolve 30ms @babel/runtime/helpers/esm/assertThisInitialized -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0ms
vite:resolve 0ms rc-util/es/Children/toArray -> null +33ms
vite:resolve 1ms @ant-design/icons/es/icons/InfoCircleOutlined -> null +1ms
vite:resolve 8ms rc-util/es/Children/toArray -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Children/toArray.js +12ms
vite:resolve 8ms @ant-design/icons/es/icons/InfoCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.js +0ms
vite:resolve 3ms rc-tabs -> null +13ms
vite:resolve 4ms rc-motion -> null +1ms
vite:resolve 4ms rc-dropdown -> null +0ms
vite:resolve 4ms @babel/runtime/helpers/esm/createSuper -> null +0ms
vite:resolve 4ms @ant-design/icons/es/icons/EyeOutlined -> null +1ms
vite:resolve 4ms rc-switch -> null +0ms
vite:resolve 4ms rc-tree -> null +0ms
vite:resolve 4ms rc-tree-select -> null +0ms
vite:resolve 5ms rc-collapse -> null +1ms
vite:resolve 4ms @ant-design/icons/es/icons/CloseOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/StarFilled -> null +1ms
vite:resolve 5ms rc-checkbox -> null +0ms
vite:resolve 5ms rc-pagination -> null +0ms
vite:resolve 6ms rc-util/es/hooks/useMemo -> null +1ms
vite:resolve 6ms @ant-design/icons/es/icons/CheckCircleFilled -> null +0ms
vite:resolve 6ms rc-dialog -> null +1ms
vite:resolve 67ms rc-tabs -> C:/Project/tmp/vite-x6/node_modules/rc-tabs/es/index.js +77ms
vite:resolve 68ms rc-motion -> C:/Project/tmp/vite-x6/node_modules/rc-motion/es/index.js +1ms
vite:resolve 68ms rc-dropdown -> C:/Project/tmp/vite-x6/node_modules/rc-dropdown/es/index.js +0ms
vite:resolve 69ms @babel/runtime/helpers/esm/createSuper -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/createSuper.js +1ms
vite:resolve 69ms @ant-design/icons/es/icons/EyeOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/EyeOutlined.js +0ms
vite:resolve 70ms rc-switch -> C:/Project/tmp/vite-x6/node_modules/rc-switch/es/index.js +1ms
vite:resolve 70ms rc-tree -> C:/Project/tmp/vite-x6/node_modules/rc-tree/es/index.js +0ms
vite:resolve 70ms rc-tree-select -> C:/Project/tmp/vite-x6/node_modules/rc-tree-select/es/index.js +0ms
vite:resolve 71ms rc-collapse -> C:/Project/tmp/vite-x6/node_modules/rc-collapse/es/index.js +1ms
vite:resolve 71ms @ant-design/icons/es/icons/CloseOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CloseOutlined.js +0ms
vite:resolve 71ms @ant-design/icons/es/icons/StarFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/StarFilled.js +0ms
vite:resolve 72ms rc-checkbox -> C:/Project/tmp/vite-x6/node_modules/rc-checkbox/es/index.js +1ms
vite:resolve 72ms rc-pagination -> C:/Project/tmp/vite-x6/node_modules/rc-pagination/es/index.js +0ms
vite:resolve 73ms rc-util/es/hooks/useMemo -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/hooks/useMemo.js +1ms
vite:resolve 73ms @ant-design/icons/es/icons/CheckCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js +0ms
vite:resolve 72ms rc-dialog -> C:/Project/tmp/vite-x6/node_modules/rc-dialog/es/index.js +1ms
vite:resolve 0ms @ant-design/icons/es/icons/CheckCircleOutlined -> null +76ms
vite:resolve 1ms @ant-design/icons/es/icons/CheckCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.js +4ms
vite:resolve 3ms rc-notification -> null +6ms
vite:resolve 4ms rc-drawer -> null +1ms
vite:resolve 4ms rc-input-number -> null +1ms
vite:resolve 5ms rc-util/es/hooks/useMergedState -> null +1ms
vite:resolve 5ms rc-tooltip -> null +0ms
vite:resolve 5ms rc-pagination/es/locale/en_US -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/ArrowLeftOutlined -> null +1ms
vite:resolve 5ms rc-util/es/ref -> null +0ms
vite:resolve 5ms rc-image -> null +0ms
vite:resolve 6ms @ant-design/icons/es/icons/LoadingOutlined -> null +1ms
vite:resolve 6ms rc-util/es/Dom/addEventListener -> null +0ms
vite:resolve 6ms @ant-design/icons/es/icons/CloseCircleFilled -> null +0ms
vite:resolve 7ms rc-steps -> null +1ms
vite:resolve 61ms rc-notification -> C:/Project/tmp/vite-x6/node_modules/rc-notification/es/index.js +71ms
vite:resolve 61ms rc-drawer -> C:/Project/tmp/vite-x6/node_modules/rc-drawer/es/index.js +0ms
vite:resolve 62ms rc-input-number -> C:/Project/tmp/vite-x6/node_modules/rc-input-number/es/index.js +1ms
vite:resolve 62ms rc-util/es/hooks/useMergedState -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/hooks/useMergedState.js +0ms
vite:resolve 63ms rc-tooltip -> C:/Project/tmp/vite-x6/node_modules/rc-tooltip/es/index.js +1ms
vite:resolve 63ms rc-pagination/es/locale/en_US -> C:/Project/tmp/vite-x6/node_modules/rc-pagination/es/locale/en_US.js +0ms
vite:resolve 63ms @ant-design/icons/es/icons/ArrowLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js +0ms
vite:resolve 64ms rc-util/es/ref -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/ref.js +1ms
vite:resolve 64ms rc-image -> C:/Project/tmp/vite-x6/node_modules/rc-image/es/index.js +0ms
vite:resolve 64ms @ant-design/icons/es/icons/LoadingOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +0ms
vite:resolve 65ms rc-util/es/Dom/addEventListener -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/addEventListener.js +1ms
vite:resolve 65ms @ant-design/icons/es/icons/CloseCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js +0ms
vite:resolve 65ms rc-steps -> C:/Project/tmp/vite-x6/node_modules/rc-steps/es/index.js +0ms
vite:resolve 3ms react-is -> null +70ms
vite:resolve 2ms @ant-design/icons/es/icons/CloseCircleOutlined -> null +0ms
vite:resolve 4ms @babel/runtime/helpers/esm/objectSpread2 -> null +2ms
vite:resolve 5ms @ant-design/icons/es/icons/UpOutlined -> null +1ms
vite:resolve 6ms rc-slider -> null +1ms
vite:resolve 5ms @ant-design/icons/es/icons/ExclamationCircleFilled -> null +0ms
vite:resolve 5ms rc-util/es/getScrollBarSize -> null +0ms
vite:resolve 6ms rc-select -> null +1ms
vite:resolve 6ms rc-mentions -> null +0ms
vite:resolve 7ms @ant-design/icons/es/icons/RightOutlined -> null +1ms
vite:resolve 7ms @ant-design/icons/es/icons/ArrowRightOutlined -> null +0ms
vite:resolve 8ms @ant-design/icons/es/icons/SearchOutlined -> null +1ms
vite:resolve 7ms @ant-design/icons/es/icons/ExclamationCircleOutlined -> null +0ms
vite:resolve 8ms @ant-design/icons/es/icons/EllipsisOutlined -> null +1ms
vite:resolve 8ms @ant-design/icons/es/icons/CheckOutlined -> null +0ms
vite:resolve 62ms react-is -> C:/Project/tmp/vite-x6/node_modules/react-is/index.js +75ms
vite:resolve 63ms @ant-design/icons/es/icons/CloseCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js +1ms
vite:resolve 63ms @babel/runtime/helpers/esm/objectSpread2 -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0ms
vite:resolve 63ms @ant-design/icons/es/icons/UpOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/UpOutlined.js +0ms
vite:resolve 64ms rc-slider -> C:/Project/tmp/vite-x6/node_modules/rc-slider/es/index.js +1ms
vite:resolve 64ms @ant-design/icons/es/icons/ExclamationCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js +0ms
vite:resolve 64ms rc-util/es/getScrollBarSize -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/getScrollBarSize.js +0ms
vite:resolve 65ms rc-select -> C:/Project/tmp/vite-x6/node_modules/rc-select/es/index.js +1ms
vite:resolve 65ms rc-mentions -> C:/Project/tmp/vite-x6/node_modules/rc-mentions/es/index.js +0ms
vite:resolve 65ms @ant-design/icons/es/icons/RightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/RightOutlined.js +0ms
vite:resolve 66ms @ant-design/icons/es/icons/ArrowRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.js +1ms
vite:resolve 66ms @ant-design/icons/es/icons/SearchOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +0ms
vite:resolve 65ms @ant-design/icons/es/icons/ExclamationCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js +0ms
vite:resolve 66ms @ant-design/icons/es/icons/EllipsisOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js +1ms
vite:resolve 66ms @ant-design/icons/es/icons/CheckOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +0ms
vite:resolve 4ms rc-util/es/KeyCode -> null +93ms
vite:resolve 5ms lodash/padEnd -> null +1ms
vite:resolve 5ms @ant-design/icons-svg/es/asn/StarFilled -> null +0ms
vite:resolve 5ms lodash/isEqual -> null +0ms
vite:resolve 6ms rc-textarea -> null +1ms
vite:resolve 5ms @babel/runtime/helpers/esm/objectWithoutProperties -> null +0ms
vite:resolve 5ms rc-resize-observer -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/DownOutlined -> null +0ms
vite:resolve 6ms @ant-design/icons/es/icons/BarsOutlined -> null +1ms
vite:resolve 6ms @ant-design/icons/es/icons/LeftOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/PlusOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/WarningFilled -> null +0ms
vite:resolve 5ms rc-util/es/Dom/canUseDom -> null +1ms
vite:resolve 5ms @babel/runtime/helpers/typeof -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/EyeOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons-svg/es/asn/LoadingOutlined -> null +1ms
vite:resolve 67ms rc-util/es/KeyCode -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/KeyCode.js +99ms
vite:resolve 67ms lodash/padEnd -> C:/Project/tmp/vite-x6/node_modules/lodash/padEnd.js +0ms
vite:resolve 67ms @ant-design/icons-svg/es/asn/StarFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +0ms
vite:resolve 68ms lodash/isEqual -> C:/Project/tmp/vite-x6/node_modules/lodash/isEqual.js +1ms
vite:resolve 68ms rc-textarea -> C:/Project/tmp/vite-x6/node_modules/rc-textarea/es/index.js +0ms
vite:resolve 68ms @babel/runtime/helpers/esm/objectWithoutProperties -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0ms
vite:resolve 69ms rc-resize-observer -> C:/Project/tmp/vite-x6/node_modules/rc-resize-observer/es/index.js +1ms
vite:resolve 69ms @ant-design/icons/es/icons/DownOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/DownOutlined.js +0ms
vite:resolve 69ms @ant-design/icons/es/icons/BarsOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/BarsOutlined.js +0ms
vite:resolve 70ms @ant-design/icons/es/icons/LeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/LeftOutlined.js +1ms
vite:resolve 70ms @ant-design/icons/es/icons/PlusOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/PlusOutlined.js +0ms
vite:resolve 70ms @ant-design/icons/es/icons/WarningFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/WarningFilled.js +0ms
vite:resolve 71ms rc-util/es/Dom/canUseDom -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/canUseDom.js +1ms
vite:resolve 71ms @babel/runtime/helpers/typeof -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/typeof.js +0ms
vite:resolve 71ms @ant-design/icons-svg/es/asn/EyeOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +0ms
vite:resolve 72ms @ant-design/icons-svg/es/asn/LoadingOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +1ms
vite:resolve 10ms @ant-design/icons-svg/es/asn/RightOutlined -> null +87ms
vite:resolve 11ms @ant-design/icons-svg/es/asn/CloseOutlined -> null +1ms
vite:resolve 11ms @ant-design/icons-svg/es/asn/SearchOutlined -> null +0ms
vite:resolve 12ms lodash/padStart -> null +1ms
vite:resolve 5ms rc-menu -> null +0ms
vite:resolve 6ms rc-upload -> null +1ms
vite:resolve 6ms rc-cascader -> null +0ms
vite:resolve 7ms @ant-design/icons/es/icons/EyeInvisibleOutlined -> null +1ms
vite:resolve 5ms rc-table -> null +0ms
vite:resolve 36ms @ant-design/icons-svg/es/asn/RightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +55ms
vite:resolve 36ms @ant-design/icons-svg/es/asn/CloseOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +0ms
vite:resolve 37ms @ant-design/icons-svg/es/asn/SearchOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +1ms
vite:resolve 37ms lodash/padStart -> C:/Project/tmp/vite-x6/node_modules/lodash/padStart.js +0ms
vite:resolve 38ms rc-menu -> C:/Project/tmp/vite-x6/node_modules/rc-menu/es/index.js +1ms
vite:resolve 38ms rc-upload -> C:/Project/tmp/vite-x6/node_modules/rc-upload/es/index.js +0ms
vite:resolve 39ms rc-cascader -> C:/Project/tmp/vite-x6/node_modules/rc-cascader/es/index.js +1ms
vite:resolve 39ms @ant-design/icons/es/icons/EyeInvisibleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js +0ms
vite:resolve 40ms rc-table -> C:/Project/tmp/vite-x6/node_modules/rc-table/es/index.js +1ms
vite:resolve 2ms rc-picker/es/locale/en_US -> null +44ms
vite:resolve 21ms rc-picker/es/locale/en_US -> C:/Project/tmp/vite-x6/node_modules/rc-picker/es/locale/en_US.js +24ms
vite:resolve 2ms @ant-design/icons/es/icons/VerticalAlignTopOutlined -> null +25ms
vite:resolve 2ms @ant-design/icons/es/icons/DoubleLeftOutlined -> null +0ms
vite:resolve 2ms array-tree-filter -> null +0ms
vite:resolve 3ms rc-tree/es/utils/treeUtil -> null +1ms
vite:resolve 2ms rc-table/es/Table -> null +0ms
vite:resolve 3ms rc-picker -> null +1ms
vite:resolve 67ms @ant-design/icons/es/icons/VerticalAlignTopOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/VerticalAlignTopOutlined.js +74ms
vite:resolve 68ms @ant-design/icons/es/icons/DoubleLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/DoubleLeftOutlined.js +1ms
vite:resolve 68ms array-tree-filter -> C:/Project/tmp/vite-x6/node_modules/array-tree-filter/lib/index.js +0ms
vite:resolve 68ms rc-tree/es/utils/treeUtil -> C:/Project/tmp/vite-x6/node_modules/rc-tree/es/utils/treeUtil.js +0ms
vite:resolve 68ms rc-table/es/Table -> C:/Project/tmp/vite-x6/node_modules/rc-table/es/Table.js +0ms
vite:resolve 69ms rc-picker -> C:/Project/tmp/vite-x6/node_modules/rc-picker/es/index.js +1ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/ExclamationCircleOutlined -> null +78ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/CloseCircleOutlined -> null +0ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/CheckCircleOutlined -> null +0ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/ExclamationCircleFilled -> null +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/InfoCircleOutlined -> null +1ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/ArrowLeftOutlined -> null +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/DownOutlined -> null +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/UpOutlined -> null +0ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/CloseCircleFilled -> null +1ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/CheckCircleFilled -> null +0ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/ArrowRightOutlined -> null +0ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/WarningFilled -> null +1ms
vite:resolve 4ms rc-tooltip/es/placements -> null +0ms
vite:resolve 12ms @ant-design/icons-svg/es/asn/ExclamationCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +23ms
vite:resolve 12ms @ant-design/icons-svg/es/asn/CloseCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +0ms
vite:resolve 13ms @ant-design/icons-svg/es/asn/CheckCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.js +1ms
vite:resolve 13ms @ant-design/icons-svg/es/asn/ExclamationCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +0ms
vite:resolve 51ms @ant-design/icons-svg/es/asn/InfoCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js +38ms
vite:resolve 51ms @ant-design/icons-svg/es/asn/ArrowLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js +0ms
vite:resolve 52ms @ant-design/icons-svg/es/asn/DownOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +1ms
vite:resolve 53ms @ant-design/icons-svg/es/asn/UpOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +1ms
vite:resolve 53ms @ant-design/icons-svg/es/asn/CloseCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +0ms
vite:resolve 53ms @ant-design/icons-svg/es/asn/CheckCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +0ms
vite:resolve 54ms @ant-design/icons-svg/es/asn/ArrowRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.js +1ms
vite:resolve 54ms @ant-design/icons-svg/es/asn/WarningFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/WarningFilled.js +0ms
vite:resolve 55ms rc-tooltip/es/placements -> C:/Project/tmp/vite-x6/node_modules/rc-tooltip/es/placements.js +1ms
vite:resolve 4ms rc-util/es/PortalWrapper -> null +60ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/PlusOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons-svg/es/asn/CheckOutlined -> null +1ms
vite:resolve 5ms @ant-design/icons/es/icons/RotateLeftOutlined -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/EllipsisOutlined -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/EyeInvisibleOutlined -> null +0ms
vite:resolve 5ms rc-field-form/es/FieldContext -> null +1ms
vite:resolve 4ms lodash/debounce -> null +0ms
vite:resolve 4ms @ant-design/icons/es/icons/InfoCircleFilled -> null +0ms
vite:resolve 4ms rc-table/es/hooks/useColumns -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/FileOutlined -> null +1ms
vite:resolve 5ms @ant-design/icons/es/icons/DoubleRightOutlined -> null +0ms
vite:resolve 4ms rc-util/es/raf -> null +0ms
vite:resolve 31ms rc-util/es/PortalWrapper -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/PortalWrapper.js +40ms
vite:resolve 31ms @ant-design/icons-svg/es/asn/PlusOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js +0ms
vite:resolve 32ms @ant-design/icons-svg/es/asn/CheckOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +1ms
vite:resolve 33ms @ant-design/icons/es/icons/RotateLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js +1ms
vite:resolve 33ms @ant-design/icons-svg/es/asn/EllipsisOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +0ms
vite:resolve 33ms @ant-design/icons-svg/es/asn/EyeInvisibleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +0ms
vite:resolve 34ms rc-field-form/es/FieldContext -> C:/Project/tmp/vite-x6/node_modules/rc-field-form/es/FieldContext.js +1ms
vite:resolve 34ms lodash/debounce -> C:/Project/tmp/vite-x6/node_modules/lodash/debounce.js +0ms
vite:resolve 34ms @ant-design/icons/es/icons/InfoCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js +0ms
vite:resolve 35ms rc-table/es/hooks/useColumns -> C:/Project/tmp/vite-x6/node_modules/rc-table/es/hooks/useColumns.js +1ms
vite:resolve 35ms @ant-design/icons/es/icons/FileOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/FileOutlined.js +0ms
vite:resolve 36ms @ant-design/icons/es/icons/DoubleRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js +1ms
vite:resolve 36ms rc-util/es/raf -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/raf.js +0ms
vite:resolve 3ms @ant-design/icons/es/icons/RotateRightOutlined -> null +53ms
vite:resolve 3ms rc-trigger -> null +0ms
vite:resolve 4ms rc-util/es/Dom/findDOMNode -> null +1ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/VerticalAlignTopOutlined -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/BarsOutlined -> null +1ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/LeftOutlined -> null +0ms
vite:resolve 5ms @ant-design/icons/es/icons/MinusSquareOutlined -> null +1ms
vite:resolve 4ms regenerator-runtime -> null +1ms
vite:resolve 44ms @ant-design/icons/es/icons/RotateRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js +64ms
vite:resolve 45ms rc-trigger -> C:/Project/tmp/vite-x6/node_modules/rc-trigger/es/index.js +1ms
vite:resolve 45ms rc-util/es/Dom/findDOMNode -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/findDOMNode.js +0ms
vite:resolve 45ms @ant-design/icons-svg/es/asn/VerticalAlignTopOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined.js +0ms
vite:resolve 46ms @ant-design/icons-svg/es/asn/BarsOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +1ms
vite:resolve 46ms @ant-design/icons-svg/es/asn/LeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +0ms
vite:resolve 47ms @ant-design/icons/es/icons/MinusSquareOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js +1ms
vite:resolve 46ms regenerator-runtime -> C:/Project/tmp/vite-x6/node_modules/regenerator-runtime/runtime.js +1s
vite:resolve 1ms @babel/runtime/helpers/esm/toArray -> null +52ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/InfoCircleFilled -> null +1ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/DoubleLeftOutlined -> null +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/DoubleRightOutlined -> null +1ms
vite:resolve 2ms @ant-design/icons/es/icons/ZoomInOutlined -> null +0ms
vite:resolve 2ms @ant-design/icons/es/icons/CalendarOutlined -> null +0ms
vite:resolve 23ms @babel/runtime/helpers/esm/toArray -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/toArray.js +31ms
vite:resolve 23ms @ant-design/icons-svg/es/asn/InfoCircleFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js +0ms
vite:resolve 24ms @ant-design/icons-svg/es/asn/DoubleLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.js +1ms
vite:resolve 24ms @ant-design/icons-svg/es/asn/DoubleRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.js +0ms
vite:resolve 24ms @ant-design/icons/es/icons/ZoomInOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js +0ms
vite:resolve 24ms @ant-design/icons/es/icons/CalendarOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CalendarOutlined.js +0ms
vite:resolve 1ms @ant-design/icons/es/icons/PlusSquareOutlined -> null +28ms
vite:resolve 11ms @ant-design/icons/es/icons/PlusSquareOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js +16ms
vite:resolve 1ms scroll-into-view-if-needed -> null +15ms
vite:resolve 3ms @ant-design/icons/es/icons/ZoomOutOutlined -> null +2ms
vite:resolve 8ms rc-util/es/utils/get -> null +6ms
vite:resolve 8ms @ant-design/icons/es/icons/ClockCircleOutlined -> null +0ms
vite:resolve 9ms rc-tree/es/util -> null +1ms
vite:resolve 21ms scroll-into-view-if-needed -> C:/Project/tmp/vite-x6/node_modules/scroll-into-view-if-needed/es/index.js +33ms
vite:resolve 22ms @ant-design/icons/es/icons/ZoomOutOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js +1ms
vite:resolve 22ms rc-util/es/utils/get -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/utils/get.js +0ms
vite:resolve 23ms @ant-design/icons/es/icons/ClockCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.js +1ms
vite:resolve 23ms rc-tree/es/util -> C:/Project/tmp/vite-x6/node_modules/rc-tree/es/util.js +0ms
vite:resolve 2ms rc-util/es/Dom/dynamicCSS -> null +27ms
vite:resolve 2ms @ant-design/icons/es/icons/CaretDownFilled -> null +1ms
vite:resolve 14ms rc-util/es/Dom/dynamicCSS -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/dynamicCSS.js +19ms
vite:resolve 15ms @ant-design/icons/es/icons/CaretDownFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CaretDownFilled.js +1ms
vite:resolve 2ms rc-notification/es/useNotification -> null +19ms
vite:resolve 2ms copy-to-clipboard -> null +1ms
vite:resolve 2ms rc-util/es/utils/set -> null +0ms
vite:resolve 1ms compute-scroll-into-view -> null +0ms
vite:resolve 20ms rc-notification/es/useNotification -> C:/Project/tmp/vite-x6/node_modules/rc-notification/es/useNotification.js +25ms
vite:resolve 21ms copy-to-clipboard -> C:/Project/tmp/vite-x6/node_modules/copy-to-clipboard/index.js +1ms
vite:resolve 21ms rc-util/es/utils/set -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/utils/set.js +0ms
vite:resolve 22ms compute-scroll-into-view -> C:/Project/tmp/vite-x6/node_modules/compute-scroll-into-view/dist/index.module.js +1ms
vite:resolve 2ms rc-util/es/Dom/css -> null +26ms
vite:resolve 2ms @babel/runtime/helpers/esm/possibleConstructorReturn -> null +0ms
vite:resolve 13ms rc-util/es/Dom/css -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/css.js +16ms
vite:resolve 13ms @babel/runtime/helpers/esm/possibleConstructorReturn -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0ms
vite:resolve 1ms @ant-design/icons/es/icons/SwapRightOutlined -> null +16ms
vite:resolve 22ms @ant-design/icons/es/icons/SwapRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.js +25ms
vite:resolve 2ms @babel/runtime/helpers/esm/getPrototypeOf -> null +27ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/MinusSquareOutlined -> null +1ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/CaretDownFilled -> null +0ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/FileOutlined -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/PlusSquareOutlined -> null +1ms
vite:resolve 3ms json2mq -> null +0ms
vite:resolve 3ms @ant-design/icons/es/icons/RedoOutlined -> null +0ms
vite:resolve 3ms @ant-design/icons/es/icons/FolderOpenOutlined -> null +0ms
vite:resolve 4ms @ant-design/colors -> null +1ms
vite:resolve 3ms @ant-design/icons/es/icons/EditOutlined -> null +0ms
vite:resolve 27ms @babel/runtime/helpers/esm/getPrototypeOf -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +35ms
vite:resolve 27ms @ant-design/icons-svg/es/asn/MinusSquareOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/MinusSquareOutlined.js +0ms
vite:resolve 28ms @ant-design/icons-svg/es/asn/CaretDownFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.js +1ms
vite:resolve 28ms @ant-design/icons-svg/es/asn/FileOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/FileOutlined.js +0ms
vite:resolve 28ms @ant-design/icons-svg/es/asn/PlusSquareOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +0ms
vite:resolve 29ms json2mq -> C:/Project/tmp/vite-x6/node_modules/json2mq/index.js +1ms
vite:resolve 29ms @ant-design/icons/es/icons/RedoOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/RedoOutlined.js +0ms
vite:resolve 30ms @ant-design/icons/es/icons/FolderOpenOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/FolderOpenOutlined.js +1ms
vite:resolve 30ms @ant-design/colors -> C:/Project/tmp/vite-x6/node_modules/@ant-design/colors/dist/index.esm.js +0ms
vite:resolve 30ms @ant-design/icons/es/icons/EditOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/EditOutlined.js +0ms
vite:resolve 4ms rc-progress -> null +37ms
vite:resolve 3ms rc-select/es/generate -> null +0ms
vite:resolve 4ms @ant-design/icons/es/icons/FolderOutlined -> null +1ms
vite:resolve 34ms rc-progress -> C:/Project/tmp/vite-x6/node_modules/rc-progress/es/index.js +42ms
vite:resolve 35ms rc-select/es/generate -> C:/Project/tmp/vite-x6/node_modules/rc-select/es/generate.js +1ms
vite:resolve 36ms @ant-design/icons/es/icons/FolderOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/FolderOutlined.js +1ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/CalendarOutlined -> null +38ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/ClockCircleOutlined -> null +0ms
vite:resolve 2ms string-convert/camel2hyphen -> null +1ms
vite:resolve 9ms @ant-design/icons-svg/es/asn/CalendarOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CalendarOutlined.js +14ms
vite:resolve 9ms @ant-design/icons-svg/es/asn/ClockCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.js +0ms
vite:resolve 9ms string-convert/camel2hyphen -> C:/Project/tmp/vite-x6/node_modules/string-convert/camel2hyphen.js +267ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/ZoomOutOutlined -> null +15ms
vite:resolve 3ms mini-store -> null +1ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/RotateLeftOutlined -> null +0ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/RotateRightOutlined -> null +1ms
vite:resolve 4ms @ant-design/icons-svg/es/asn/ZoomInOutlined -> null +0ms
vite:resolve 5ms rc-select/es/utils/valueUtil -> null +1ms
vite:resolve 4ms rc-util/es/Dom/contains -> null +0ms
vite:resolve 4ms @ant-design/icons/es/icons/CopyOutlined -> null +0ms
vite:resolve 5ms shallowequal -> null +1ms
vite:resolve 4ms @ctrl/tinycolor -> null +0ms
vite:resolve 27ms @ant-design/icons-svg/es/asn/ZoomOutOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ZoomOutOutlined.js +36ms
vite:resolve 28ms mini-store -> C:/Project/tmp/vite-x6/node_modules/mini-store/esm/index.js +1ms
vite:resolve 28ms @ant-design/icons-svg/es/asn/RotateLeftOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/RotateLeftOutlined.js +0ms
vite:resolve 29ms @ant-design/icons-svg/es/asn/RotateRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/RotateRightOutlined.js +1ms
vite:resolve 29ms @ant-design/icons-svg/es/asn/ZoomInOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/ZoomInOutlined.js +0ms
vite:resolve 30ms rc-select/es/utils/valueUtil -> C:/Project/tmp/vite-x6/node_modules/rc-select/es/utils/valueUtil.js +1ms
vite:resolve 30ms rc-util/es/Dom/contains -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/contains.js +0ms
vite:resolve 31ms @ant-design/icons/es/icons/CopyOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CopyOutlined.js +1ms
vite:resolve 31ms shallowequal -> C:/Project/tmp/vite-x6/node_modules/shallowequal/index.js +0ms
vite:resolve 31ms @ctrl/tinycolor -> C:/Project/tmp/vite-x6/node_modules/@ctrl/tinycolor/dist/module/public_api.js +0ms
vite:resolve 0ms @ant-design/icons-svg/es/asn/SwapRightOutlined -> null +34ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/SwapRightOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.js +5ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/FolderOpenOutlined -> null +6ms
vite:resolve 2ms @ant-design/icons/es/icons/CaretDownOutlined -> null +1ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/RedoOutlined -> null +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/FolderOutlined -> null +0ms
vite:resolve 3ms rc-util/es/Dom/isVisible -> null +1ms
vite:resolve 2ms resize-observer-polyfill -> null +0ms
vite:resolve 2ms rc-util/es/isMobile -> null +0ms
vite:resolve 32ms @ant-design/icons-svg/es/asn/FolderOpenOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/FolderOpenOutlined.js +38ms
vite:resolve 32ms @ant-design/icons/es/icons/CaretDownOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js +0ms
vite:resolve 33ms @ant-design/icons-svg/es/asn/RedoOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.js +1ms
vite:resolve 33ms @ant-design/icons-svg/es/asn/FolderOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/FolderOutlined.js +0ms
vite:resolve 33ms rc-util/es/Dom/isVisible -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Dom/isVisible.js +0ms
vite:resolve 34ms resize-observer-polyfill -> C:/Project/tmp/vite-x6/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1ms
vite:resolve 35ms rc-util/es/isMobile -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/isMobile.js +1ms
vite:resolve 2ms @ant-design/icons/es/icons/QuestionCircleOutlined -> null +43ms
vite:resolve 2ms @ant-design/icons/es/icons/PaperClipOutlined -> null +0ms
vite:resolve 2ms rc-util/es/pickAttrs -> null +0ms
vite:resolve 3ms @ant-design/icons/es/icons/CaretUpOutlined -> null +1ms
vite:resolve 2ms rc-tree/es/utils/conductUtil -> null +0ms
vite:resolve 2ms toggle-selection -> null +0ms
vite:resolve 19ms @ant-design/icons/es/icons/QuestionCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js +28ms
vite:resolve 20ms @ant-design/icons/es/icons/PaperClipOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/PaperClipOutlined.js +1ms
vite:resolve 40ms rc-util/es/pickAttrs -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/pickAttrs.js +20ms
vite:resolve 41ms @ant-design/icons/es/icons/CaretUpOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/CaretUpOutlined.js +1ms
vite:resolve 41ms rc-tree/es/utils/conductUtil -> C:/Project/tmp/vite-x6/node_modules/rc-tree/es/utils/conductUtil.js +0ms
vite:resolve 41ms toggle-selection -> C:/Project/tmp/vite-x6/node_modules/toggle-selection/index.js +136ms
vite:resolve 0ms @ant-design/icons-svg/es/asn/EditOutlined -> null +46ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/CopyOutlined -> null +1ms
vite:resolve 1ms @ant-design/icons/es/icons/FilterFilled -> null +0ms
vite:resolve 1ms rc-select/es/interface/generator -> null +1ms
vite:resolve 2ms @ant-design/icons/es/icons/PictureTwoTone -> null +0ms
vite:resolve 17ms @ant-design/icons-svg/es/asn/EditOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js +24ms
vite:resolve 17ms @ant-design/icons-svg/es/asn/CopyOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js +0ms
vite:resolve 18ms @ant-design/icons/es/icons/FilterFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/FilterFilled.js +1ms
vite:resolve 18ms rc-select/es/interface/generator -> C:/Project/tmp/vite-x6/node_modules/rc-select/es/interface/generator.js +0ms
vite:resolve 18ms @ant-design/icons/es/icons/PictureTwoTone -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/PictureTwoTone.js +0ms
vite:resolve 1ms @ant-design/icons/es/icons/FileTwoTone -> null +47ms
vite:resolve 14ms @ant-design/icons/es/icons/FileTwoTone -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/FileTwoTone.js +42ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/QuestionCircleOutlined -> null +16ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/CaretUpOutlined -> null +1ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/CaretDownOutlined -> null +1ms
vite:resolve 6ms @ant-design/icons-svg/es/asn/QuestionCircleOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.js +10ms
vite:resolve 6ms @ant-design/icons-svg/es/asn/CaretUpOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CaretUpOutlined.js +0ms
vite:resolve 6ms @ant-design/icons-svg/es/asn/CaretDownOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js +0ms
vite:resolve 2ms rc-virtual-list -> null +9ms
vite:resolve 2ms hoist-non-react-statics -> null +1ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/FilterFilled -> null +0ms
vite:resolve 2ms @babel/runtime/helpers/esm/asyncToGenerator -> null +0ms
vite:resolve 20ms rc-virtual-list -> C:/Project/tmp/vite-x6/node_modules/rc-virtual-list/es/index.js +26ms
vite:resolve 22ms hoist-non-react-statics -> C:/Project/tmp/vite-x6/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2ms
vite:resolve 22ms @ant-design/icons-svg/es/asn/FilterFilled -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/FilterFilled.js +0ms
vite:resolve 22ms @babel/runtime/helpers/esm/asyncToGenerator -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/FileTwoTone -> null +32ms
vite:resolve 2ms @ant-design/icons-svg/es/asn/PaperClipOutlined -> null +0ms
vite:resolve 2ms @babel/runtime/helpers/esm/get -> null +0ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/PictureTwoTone -> null +1ms
vite:resolve 30ms @ant-design/icons-svg/es/asn/FileTwoTone -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.js +39ms
vite:resolve 31ms @ant-design/icons-svg/es/asn/PaperClipOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.js +1ms
vite:resolve 31ms @babel/runtime/helpers/esm/get -> C:/Project/tmp/vite-x6/node_modules/@babel/runtime/helpers/esm/get.js +0ms
vite:resolve 31ms @ant-design/icons-svg/es/asn/PictureTwoTone -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.js +0ms
vite:resolve 32ms react-is -> C:/Project/tmp/vite-x6/node_modules/react-is/index.js +146ms
vite:resolve 2ms @ant-design/icons/es/icons/EnterOutlined -> null +40ms
vite:resolve 14ms @ant-design/icons/es/icons/EnterOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/EnterOutlined.js +23ms
vite:resolve 3ms warning -> null +29ms
vite:resolve 11ms warning -> C:/Project/tmp/vite-x6/node_modules/warning/warning.js +26ms
vite:resolve 1ms async-validator -> null +14ms
vite:resolve 1ms rc-util/es/Portal -> null +0ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/EnterOutlined -> null +0ms
vite:resolve 19ms async-validator -> C:/Project/tmp/vite-x6/node_modules/async-validator/dist-web/index.js +23ms
vite:resolve 19ms rc-util/es/Portal -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/Portal.js +0ms
vite:resolve 19ms @ant-design/icons-svg/es/asn/EnterOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js +0ms
vite:resolve 1ms @ant-design/icons/es/icons/DeleteOutlined -> null +60ms
vite:resolve 14ms @ant-design/icons/es/icons/DeleteOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js +54ms
vite:resolve 0ms @ant-design/icons/es/icons/DownloadOutlined -> null +18ms
vite:resolve 7ms @ant-design/icons/es/icons/DownloadOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons/es/icons/DownloadOutlined.js +11ms
vite:resolve 0ms rc-util/es/createChainedFunction -> null +12ms
vite:resolve 5ms rc-util/es/createChainedFunction -> C:/Project/tmp/vite-x6/node_modules/rc-util/es/createChainedFunction.js +11ms
vite:resolve 0ms @ant-design/icons-svg/es/asn/DeleteOutlined -> null +10ms
vite:resolve 1ms @ant-design/icons-svg/es/asn/DownloadOutlined -> null +1ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/DeleteOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js +8ms
vite:resolve 3ms @ant-design/icons-svg/es/asn/DownloadOutlined -> C:/Project/tmp/vite-x6/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.js +0ms
vite:resolve 0ms rc-overflow -> null +9ms
vite:resolve 3ms rc-overflow -> C:/Project/tmp/vite-x6/node_modules/rc-overflow/es/index.js +10ms
vite:resolve 0ms rc-align -> null +23ms
vite:resolve 5ms rc-align -> C:/Project/tmp/vite-x6/node_modules/rc-align/es/index.js +24ms
vite:resolve 0ms dom-align -> null +25ms
vite:resolve 2ms dom-align -> C:/Project/tmp/vite-x6/node_modules/dom-align/dist-web/index.js +22ms
vite:deps deps bundled in 2055ms +0ms
Port 3000 is in use, trying another one...
vite:deps Hash is consistent. Skipping. Use --force to override. +12ms
vite v2.3.2 dev server running at:
> Local: http://localhost:3001/
> Network: use `--host` to expose
ready in 2463ms.
Before submitting the issue, please make sure you do the following
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Provide a description in this issue that describes the bug.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 45 (5 by maintainers)
Commits related to this issue
- fix: upgrade esbuild for esm compatibility (#3718) see https://github.com/evanw/esbuild/blob/master/CHANGELOG.md#0127 fix #3399 fix #3413 — committed to vitejs/vite by lbwa 3 years ago
- 修复编译后节点不渲染 https://github.com/antvis/X6/issues/2431 https://github.com/vitejs/vite/discussions/4158 相关issue: https://github.com/antvis/X6/issues/507 https://github.com/antvis/X6/issues/1181 ht... — committed to lloydzhou/openGuass-workflow-vue3-test by lloydzhou 2 years ago
vite.config.js
Adding such a configuration solves this problem locally
单独使用
@antv/x6
时不会报错 搭配使用@antv/x6-vue-shape
包时会报此错误Cannot read property 'ToolItem' of undefined
原因貌似是预构建的问题,不需要使用resolve调整引入包类型,只用单独把@antv/x6-vue-shape
排除在预构建配置中就正常了 大家可以参考如下配置:对应vite版本为
2.9.13
vite 2.2.4 is ok. 😂
使用render和alias配合彻底解决了这个问题,dev和build后都可用了,建议各位x6项目的大神在x6的vue-shape部分官方文档中说明一下,否则这个问题能把新手搞自闭了,而且这个缺陷修复方案还在vite仓库里~
另外非tsx在vue3中注册的写法实例如下:
另外,修改前的完整代码为官方示例: https://codesandbox.io/s/vue-shape-8ciig
找到原因了。
通过 render 方法渲染的 vue 组件,可以正常显示,但是通过 template 渲染的 vue 组件,build 之后不会正常显示。
例子:
相关 vite.config.ts 的 alias 配置
thank you @BARMPlus
If you need to use @antv/x6-vue-shape
https://user-images.githubusercontent.com/30861990/187613535-76c10024-e789-40ae-a422-5c9a4bd7a495.png 将x6内依赖的commonjs依赖给放进include 就可成功运行了
我使用这个配置会报错,vite 3.0.0
我的项目是 react、@antv/x6-react-shape,上述解决办法除了降级2.2.4,都不行,