mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
fix: external deps
This commit is contained in:
parent
0debade3c3
commit
38ed904897
@ -7,27 +7,23 @@
|
|||||||
* For more information, please refer to: https://www.nocobase.com/agreement.
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import { rspack } from '@rspack/core';
|
||||||
import ncc from '@vercel/ncc';
|
import ncc from '@vercel/ncc';
|
||||||
import react from '@vitejs/plugin-react';
|
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import fg from 'fast-glob';
|
import fg from 'fast-glob';
|
||||||
import fs from 'fs-extra';
|
import fs from 'fs-extra';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { build as tsupBuild } from 'tsup';
|
import { build as tsupBuild } from 'tsup';
|
||||||
import { build as viteBuild } from 'vite';
|
|
||||||
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js';
|
|
||||||
import { rspack } from '@rspack/core';
|
|
||||||
|
|
||||||
import { EsbuildSupportExts, globExcludeFiles } from './constant';
|
import { EsbuildSupportExts, globExcludeFiles } from './constant';
|
||||||
import { PkgLog, UserConfig, getPackageJson } from './utils';
|
import { PkgLog, UserConfig, getPackageJson } from './utils';
|
||||||
import {
|
import {
|
||||||
buildCheck,
|
buildCheck,
|
||||||
checkFileSize,
|
|
||||||
checkRequire,
|
checkRequire,
|
||||||
getExcludePackages,
|
getExcludePackages,
|
||||||
getIncludePackages,
|
getIncludePackages,
|
||||||
getPackagesFromFiles,
|
getPackagesFromFiles,
|
||||||
getSourcePackages,
|
getSourcePackages
|
||||||
} from './utils/buildPluginUtils';
|
} from './utils/buildPluginUtils';
|
||||||
import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
||||||
|
|
||||||
@ -46,8 +42,10 @@ const external = [
|
|||||||
'@nocobase/database',
|
'@nocobase/database',
|
||||||
'@nocobase/data-source-manager',
|
'@nocobase/data-source-manager',
|
||||||
'@nocobase/evaluators',
|
'@nocobase/evaluators',
|
||||||
|
'@nocobase/lock-manager',
|
||||||
'@nocobase/logger',
|
'@nocobase/logger',
|
||||||
'@nocobase/resourcer',
|
'@nocobase/resourcer',
|
||||||
|
'@nocobase/telemetry',
|
||||||
'@nocobase/sdk',
|
'@nocobase/sdk',
|
||||||
'@nocobase/server',
|
'@nocobase/server',
|
||||||
'@nocobase/test',
|
'@nocobase/test',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user