
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@native-base/babel-plugin
Advanced tools
Official Babel Plugin for NativeBase Build-Time theme resolution.
Using yarn :
yarn add -D @native-base/babel-plugin
Using npm :
npm install --save-dev @native-base/babel-plugin
Simply add this plugin in your App's babel.config.js
:
module.exports = function (api) {
api.cache(true);
return {
presets: [...YOUR_APP_PRESETS],
plugins: ["@native-base/babel-plugin",...YOUR_OTHER_PLUGINS],
};
};
Also in dev env you will have to delete the cache generated on your root in the folder .native-base .
You can simply add rm -rf .native-base
in your dev script.
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"other-scripts":"yarn something",
"dev": "rm -rf .native-base && yarn start",
}
yarn
or npm install
cd example && yarn && cd ..
or cd example && npm install && cd ..
yarn dev:web
or npm run dev:web
to run the example app make your changes in index.js
.FAQs
A babel plugin to add Build time theme resolution for Nativebase
The npm package @native-base/babel-plugin receives a total of 13 weekly downloads. As such, @native-base/babel-plugin popularity was classified as not popular.
We found that @native-base/babel-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.