Skip to content

[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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Next Next commit
setup webpack
  • Loading branch information
raheeliftikhar5 committed Mar 26, 2024
commit e5ed5891b34b3063d73c5c9d17bcee77e525c930
24 changes: 24 additions & 0 deletions client/packages/lowcoder-sdk/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"presets": ["@babel/preset-typescript", "@babel/preset-react", "@babel/preset-env"],
"plugins": [
["@babel/transform-runtime"],
["babel-plugin-styled-components"],
["import", {
"libraryName": "antd",
"libraryDirectory": "es",
"style": true
}, "antd"],
["import", {
"libraryName": "@ant-design/icons",
// "style": false,
"libraryDirectory": "es/icons",
"camel2DashComponentName": false
}, "@ant-design/icons"],
["import", {
"libraryName": "antd-mobile"
}, "antd-mobile"],
["import", {
"libraryName": "lodash"
}, "lodash"]
]
}
2 changes: 2 additions & 0 deletions client/packages/lowcoder-sdk/bundle/139.bundle.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions client/packages/lowcoder-sdk/bundle/139.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
2 changes: 2 additions & 0 deletions client/packages/lowcoder-sdk/bundle/164.bundle.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions client/packages/lowcoder-sdk/bundle/164.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */

/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
1 change: 1 addition & 0 deletions client/packages/lowcoder-sdk/bundle/240.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/packages/lowcoder-sdk/bundle/475.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/packages/lowcoder-sdk/bundle/556.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/packages/lowcoder-sdk/bundle/567.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/packages/lowcoder-sdk/bundle/610.bundle.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions client/packages/lowcoder-sdk/bundle/660.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/packages/lowcoder-sdk/bundle/666.bundle.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions client/packages/lowcoder-sdk/bundle/666.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*! exports provided: default */

/*! no static exports found */

/*! react */

/*!******************************!*\
!*** ./src/react-webcam.tsx ***!
\******************************/

/*!**************************************************************************************!*\
!*** external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} ***!
\**************************************************************************************/
Loading