Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit092ec73

Browse files
author
FalkWolsky
committed
Small changes to exclude lowcoder-comps
1 parent0c99982 commit092ec73

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

‎viewer/config/test/jest.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
modulePaths:[
2828
"<rootDir>/src",
2929
path.resolve(currentDir,"../../packages/lowcoder/src"),
30-
path.resolve(currentDir,"../../packages/lowcoder-comps/src"),
30+
//path.resolve(currentDir, "../../packages/lowcoder-comps/src"),
3131
path.resolve(currentDir,"../../packages/lowcoder-design/src"),
3232
],
3333
setupFiles:[path.resolve(currentDir,"./jest.setup.js")],

‎viewer/packages/lowcoder-core/rollup.config.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ import commonjs from "@rollup/plugin-commonjs";
22
importresolvefrom"@rollup/plugin-node-resolve";
33
importtypescriptfrom"@rollup/plugin-typescript";
44
importdtsfrom"rollup-plugin-dts";
5+
import{visualizer}from'rollup-plugin-visualizer';
6+
import{terser}from'rollup-plugin-terser';
57

68
constconfig=[
79
{
810
input:"src/index.ts",
9-
plugins:[resolve({browser:true}),commonjs(),typescript()],
11+
plugins:[resolve({browser:true}),commonjs(),typescript(),terser(),visualizer({open:true})],
1012
output:{
1113
dir:"lib",
1214
format:"esm",

‎viewer/packages/lowcoder/tsconfig.paths.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"paths": {
44
"@lowcoder-ee/*": ["*"],
55
"lowcoder-sdk": ["index.sdk"],
6-
"*": ["*","../../lowcoder-comps/src/*","../../lowcoder-design/src/*"],
6+
"*": ["*","../../lowcoder-design/src/*"],
77
"package": ["./package/*"]
88
}
99
}

‎viewer/scripts/build.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function currentDirName(importMetaUrl) {
1515
returndirname(fileURLToPath(importMetaUrl));
1616
}
1717

18-
constbuiltinPlugins=["lowcoder-comps"];
18+
//const builtinPlugins = ["lowcoder-comps"];
1919
constcurDirName=currentDirName(import.meta.url);
2020

2121
asyncfunctiondownloadFile(url,dest){
@@ -94,11 +94,11 @@ buildVars.forEach(({ name, defaultValue }) => {
9494
shell.exec(`BUILD_TARGET=browserCheck yarn workspace lowcoder build`,{fatal:true});
9595
shell.exec(`yarn workspace lowcoder build`,{fatal:true});
9696

97-
if(process.env.REACT_APP_BUNDLE_BUILTIN_PLUGIN){
97+
/*if (process.env.REACT_APP_BUNDLE_BUILTIN_PLUGIN) {
9898
for (const pluginName of builtinPlugins) {
9999
await buildBuiltinPlugin(pluginName);
100100
}
101-
}
101+
} */
102102

103103
if(process.argv.includes("--internal-deploy")){
104104
constdeployDir=shell.env["DEPLOY_DIR"];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp