We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621b68d commit ef173f6Copy full SHA for ef173f6
lib.js
@@ -37,9 +37,14 @@ module.exports = ({
37
throw new Error('Please specify at least one platform to generate the library.');
38
}
39
40
- if (prefix === 'RN') {
41
- console.warn(`While \`RN\` is the default prefix,
42
- it is recommended to customize the prefix.`);
+ if (prefix === DEFAULT_PREFIX) {
+ console.warn(`While \`${DEFAULT_PREFIX}\` is the default prefix,
+ it is recommended to customize the prefix.`);
43
+ }
44
+
45
+ if (packageIdentifier === DEFAULT_PACKAGE_IDENTIFIER) {
46
+ console.warn(`While \`{DEFAULT_PACKAGE_IDENTIFIER}\` is the default package
47
+ identifier, it is recommended to customize the package identifier.`);
48
49
50
return Promise.all(templates.filter((template) => {
0 commit comments