fix: build bug (#2683)
This commit is contained in:
parent
64b5471084
commit
dfe77ca2fb
@ -21,11 +21,9 @@ import { getDepPkgPath, getDepsConfig } from './utils/getDepsConfig';
|
|||||||
import { EsbuildSupportExts, globExcludeFiles } from './constant';
|
import { EsbuildSupportExts, globExcludeFiles } from './constant';
|
||||||
import { PkgLog, UserConfig, getPackageJson } from './utils';
|
import { PkgLog, UserConfig, getPackageJson } from './utils';
|
||||||
|
|
||||||
const serverGlobalFiles: string[] = ['src/**', '!src/client/**', ...globExcludeFiles];
|
const serverGlobalFiles: string[] = ['src/**/*.{ts,js,tsx,jsx,mjs}', '!src/client/**', ...globExcludeFiles];
|
||||||
const clientGlobalFiles: string[] = ['src/**', '!src/server/**', ...globExcludeFiles];
|
const clientGlobalFiles: string[] = ['src/**/*.{ts,js,tsx,jsx,mjs}', '!src/server/**', ...globExcludeFiles];
|
||||||
const dynamicImportRegexp = /import\((["'])(.*?)\1\)/g;
|
const sourceGlobalFiles: string[] = ['src/**/*.{ts,js,tsx,jsx,mjs}', '!src/**/__tests__'];
|
||||||
|
|
||||||
const sourceGlobalFiles: string[] = ['src/**/*.{ts,js,tsx,jsx}', '!src/**/__tests__'];
|
|
||||||
|
|
||||||
const external = [
|
const external = [
|
||||||
// nocobase
|
// nocobase
|
||||||
|
Loading…
Reference in New Issue
Block a user