Skip to content

Commit 7ee5a7b

Browse files
fix importing errors in tests
1 parent 29de1f6 commit 7ee5a7b

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

client/packages/lowcoder-core/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
"files": [
3131
"lib"
3232
],
33-
"exports": {
34-
"import": "./lib/index.js"
35-
},
33+
"exports": "./lib/index.js",
3634
"author": "Lowcoder"
3735
}

client/packages/lowcoder-core/rollup.config.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ const config = [
1313
},
1414
external: ["lodash", "stylis"],
1515
},
16-
{
17-
input: "src/index.ts",
18-
plugins: [
19-
resolve({ browser: true }),
20-
commonjs(),
21-
typescript({ declaration: false, declarationDir: undefined }),
22-
],
23-
output: {
24-
format: "cjs",
25-
file: "lib/index.cjs",
26-
},
27-
external: ["lodash", "stylis"],
28-
},
16+
// {
17+
// input: "src/index.ts",
18+
// plugins: [
19+
// resolve({ browser: true }),
20+
// commonjs(),
21+
// typescript({ declaration: false, declarationDir: undefined }),
22+
// ],
23+
// output: {
24+
// format: "cjs",
25+
// file: "lib/index.cjs",
26+
// },
27+
// external: ["lodash", "stylis"],
28+
// },
2929
{
3030
input: "lib/dts/index.d.ts",
3131
plugins: [

client/packages/lowcoder-core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"declaration": true,
44
"declarationDir": "lib/dts",
5-
"target": "es5",
5+
"target": "ESNext",
66
"experimentalDecorators": true,
77
"lib": ["dom", "dom.iterable", "esnext"],
88
"allowJs": true,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy