From 9d7fbee3001c436687cecd212e11d23181a67311 Mon Sep 17 00:00:00 2001 From: beautiful-boyyy Date: Sun, 30 Jun 2024 22:42:35 +0800 Subject: [PATCH] fix: remove unnecessary default loading deps --- .../src/templates/index.jsx | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/packages/build-plugin-lowcode/src/templates/index.jsx b/packages/build-plugin-lowcode/src/templates/index.jsx index d6b41b3..09e85e3 100644 --- a/packages/build-plugin-lowcode/src/templates/index.jsx +++ b/packages/build-plugin-lowcode/src/templates/index.jsx @@ -16,19 +16,6 @@ const isNewEngineVersion = !!material; const devMode = !!{{{ devMode }}}; const baseLibrary = '{{{baseLibrary}}}'; const basePackages = [ - { - package: 'moment', - version: '2.24.0', - urls: ['https://g.alicdn.com/mylib/moment/2.24.0/min/moment.min.js'], - library: 'moment', - }, - { - package: "lodash", - library: "_", - urls: [ - "https://g.alicdn.com/platform/c/lodash/4.6.1/lodash.min.js" - ] - }, { title: 'fusion组件库', package: '@alifd/next', @@ -38,16 +25,7 @@ const basePackages = [ 'https://g.alicdn.com/code/lib/alifd__next/1.25.23/next-with-locales.min.js', ], library: 'Next', - }, - { - package: 'antd', - version: '4.17.3', - urls: [ - 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.js', - 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.css', - ], - library: 'antd', - }, + } ]; if (baseLibrary === 'rax') {