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

[WIP] Reduce lowcoder-sdk initial bundle size#774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
16 commits
Select commitHold shift + click to select a range
e5ed589
setup webpack
raheeliftikhar5Mar 15, 2024
03cbba7
use antd/es
raheeliftikhar5Mar 15, 2024
7d87e4f
lazy load routes and components
raheeliftikhar5Mar 18, 2024
3ab149c
lazy load comps
raheeliftikhar5Mar 20, 2024
0d34edd
webpack configurations
raheeliftikhar5Mar 20, 2024
246a7ee
antd version fixed to 5.13.2
raheeliftikhar5Mar 20, 2024
7e85774
lazy load ant-design/icons
raheeliftikhar5Mar 25, 2024
3184cd3
lazy load ReactPlayer + ReactMarkdown
raheeliftikhar5Mar 25, 2024
df4f6ed
t sspecific imports instead of generic imports
raheeliftikhar5Mar 25, 2024
abd4e12
remove webpack bundling from lowcoder-sdk
raheeliftikhar5Mar 25, 2024
e02281a
added lowcoder-sdk-webpack-bundle workspace
raheeliftikhar5Mar 25, 2024
8d73f12
remove test package
raheeliftikhar5Mar 25, 2024
103152d
fix appEditor showing while loading issue
raheeliftikhar5Mar 27, 2024
2f72fac
fix small issue
raheeliftikhar5Mar 30, 2024
262667c
Merge branch 'dev' into lowcoder-sdk-webpack-bundle
FalkWolskyApr 1, 2024
33bd8f7
Update index.tsx
FalkWolskyApr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
use antd/es
  • Loading branch information
@raheeliftikhar5
raheeliftikhar5 committedMar 26, 2024
commit03cbba7bd3acadc67fafffd3a88bedd5834b1b4b
2 changes: 1 addition & 1 deletionclient/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,7 +75,7 @@
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/styled-components": "^5.1.34",
"antd-mobile": "^5.28.0",
"antd-mobile": "^5.34.0",
"chalk": "4",
"number-precision": "^1.6.0",
"react-player": "^2.11.0",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import { App } from'antd';
import type { MessageInstance } from'antd/es/message/interface';
import type { ModalStaticFunctions } from'antd/es/modal/confirm';
import type { NotificationInstance } from'antd/es/notification/interface';
import {default asApp } from"antd/es/app";
import type { MessageInstance } from"antd/es/message/interface";
import type { ModalStaticFunctions } from"antd/es/modal/confirm";
import type { NotificationInstance } from"antd/es/notification/interface";

let messageInstance: MessageInstance;
let notificationInstance: NotificationInstance;
Expand Down
4 changes: 2 additions & 2 deletionsclient/packages/lowcoder-design/src/components/Trees.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
importstyled,{css}from"styled-components";
import{ReactComponentasFolded}from"icons/icon-folded.svg";
import{DataNode,TreeProps}from"antd/lib/tree";
importDirectoryTreefrom"antd/lib/tree/DirectoryTree";
import{DataNode,TreeProps}from"antd/es/tree";
importDirectoryTreefrom"antd/es/tree/DirectoryTree";

exportconstTreediv=styled.div<{$height?:number}>`
padding-left: 24px;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import { colord, extend } from "colord";
import namesPlugin from "colord/plugins/names";
import { generate } from "@ant-design/colors";
import { generate } from "@ant-design/colors/es";

extend([namesPlugin]);

Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import type { IconDefinition } from "@fortawesome/free-regular-svg-icons";
// import type { IconDefinition as IconDefinitionBrands } from "@fortawesome/free-brands-svg-icons";
import { Popover } from "antd";
import { Popover } from "antd/es/popover";
import { ActionType } from "@rc-component/trigger/lib/interface";
import { TacoInput } from "components/tacoInput";
import { Tooltip } from "components/toolTip";
Expand All@@ -20,7 +20,6 @@ import { default as List, ListRowProps } from "react-virtualized/dist/es/List";
import styled from "styled-components";
import { CloseIcon, SearchIcon } from "icons";
import { ANTDICON } from "icons/antIcon";
import { Divider } from "antd-mobile";

const PopupContainer = styled.div`
width: 580px;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import styled, { css } from "styled-components";
import { default as Alert } from "antd/es/alert";
import { ReactNode } from "react";
import { AlertProps } from "antd/lib/alert";
import { AlertProps } from "antd/es/alert";
import { ToolTipLabel } from "./toolTip";
import { DocLink } from "components/ExternalLink";

Expand Down
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-design/src/icons/antIcon.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -788,7 +788,7 @@ import {
ZhihuSquareFilled,
ZoomInOutlined,
ZoomOutOutlined,
} from "@ant-design/icons";
} from "@ant-design/icons/es";

export const ANTDICON = {
accountbookfilled: <AccountBookFilled />,
Expand Down
1 change: 1 addition & 0 deletionsclient/packages/lowcoder-sdk/.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
/node_modules
/dist
/bundle
/types
2 changes: 0 additions & 2 deletionsclient/packages/lowcoder-sdk/bundle/139.bundle.js
View file
Open in desktop

This file was deleted.

View file
Open in desktop

This file was deleted.

2 changes: 0 additions & 2 deletionsclient/packages/lowcoder-sdk/bundle/164.bundle.js
View file
Open in desktop

This file was deleted.

View file
Open in desktop

This file was deleted.

1 change: 0 additions & 1 deletionclient/packages/lowcoder-sdk/bundle/240.bundle.js
View file
Open in desktop

This file was deleted.

1 change: 0 additions & 1 deletionclient/packages/lowcoder-sdk/bundle/475.bundle.js
View file
Open in desktop

This file was deleted.

1 change: 0 additions & 1 deletionclient/packages/lowcoder-sdk/bundle/556.bundle.js
View file
Open in desktop

This file was deleted.

1 change: 0 additions & 1 deletionclient/packages/lowcoder-sdk/bundle/567.bundle.js
View file
Open in desktop

This file was deleted.

1 change: 0 additions & 1 deletionclient/packages/lowcoder-sdk/bundle/610.bundle.js
View file
Open in desktop

This file was deleted.

Loading

[8]ページ先頭

©2009-2025 Movatter.jp