Skip to content

Commit b1965c3

Browse files
authored
Merge pull request #5418 from GeekyAnts/release/3.5.0-rc.0
Release/3.5.0 rc.0
2 parents 8024ec1 + f68375c commit b1965c3

24 files changed

Lines changed: 1444 additions & 1472 deletions

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ dist/__tests__
1717
# Example
1818
example/
1919
expo-example/
20+
next-example/
21+
RNBareExample/

bundleGenerator.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ async function build() {
2929
}
3030

3131
fs.writeFileSync(path.join(__dirname, 'src/bundle.js'), outputCodes[0]);
32+
const newBundle = require(path.join(__dirname, 'src/bundle.js'));
33+
const { generateBuildTimeMap } = newBundle;
34+
const usedComponentDetailMap = {
35+
Button: [
36+
{ variant: 'unstyled' },
37+
{ colorScheme: 'indigo' },
38+
{ colorScheme: 'indigo' },
39+
{ variant: 'unstyled' },
40+
{ colorScheme: 'indigo' },
41+
{ colorScheme: 'indigo' },
42+
],
43+
};
44+
generateBuildTimeMap('web', usedComponentDetailMap);
3245
// console.log(outputCodes, 'eeee');
3346
return outputCodes;
3447
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"prettier --write"
3838
]
3939
},
40-
"version": "3.5.0-alpha.10",
40+
"version": "3.5.0-rc.0",
4141
"license": "MIT",
4242
"private": false,
4343
"main": "lib/commonjs/index",

0 commit comments

Comments
 (0)