Skip to content

Commit 91a1880

Browse files
committed
improve tamagui-build for simplicity and redo all confi
1 parent 5e62f4b commit 91a1880

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+927
-4278
lines changed

.yarn/install-state.gz

-2.23 MB
Binary file not shown.

packages/babel-plugin/package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"name": "@tamagui/babel-plugin",
33
"version": "1.0.0-alpha.11",
44
"source": "src/index.ts",
5-
"main": "dist/index.cjs",
6-
"module": "dist/index.js",
7-
"typings": "types.d.ts",
5+
"typings": "types",
6+
"main": "dist/cjs",
7+
"module": "dist/esm",
8+
"module:jsx": "dist/_jsx",
89
"files": [
9-
"types.d.ts",
10-
"dist",
11-
"src"
10+
"types",
11+
"src",
12+
"dist"
1213
],
1314
"license": "MIT",
1415
"publishConfig": {

packages/babel-plugin/tsconfig.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"extends": "../../tsconfig",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"rootDir": "../.."
5-
},
6-
"include": ["src"],
7-
"references": []
4+
"baseUrl": "../..",
5+
"jsx": "preserve",
6+
}
87
}

packages/babel-plugin/types.d.ts

-6
This file was deleted.

packages/bench-components/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
"*.css"
77
],
88
"source": "src/index.ts",
9-
"main": "dist/index.cjs",
10-
"module": "dist/index.js",
11-
"typings": "types.d.ts",
12-
"module:jsx": "_jsx",
9+
"typings": "types",
10+
"main": "dist/cjs",
11+
"module": "dist/esm",
12+
"module:jsx": "dist/_jsx",
1313
"files": [
14-
"_jsx",
14+
"types",
15+
"src",
1516
"dist"
1617
],
1718
"scripts": {
+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4+
"baseUrl": "../..",
45
"jsx": "preserve",
56
}
67
}

0 commit comments

Comments
 (0)