babel-plugin-react-native-image-source-to-base64

    0.0.2 • Public • Published

    babel-plugin-react-native-image-source-to-base64

    Usage

    Step 1: Install

    yarn add -D babel-plugin-react-native-image-source-to-base64

    or

    npm install --save-dev babel-plugin-react-native-image-source-to-base64

    Step 2: Configure babel.config.js

    module.exports = {
      presets: ['module:metro-react-native-babel-preset'],
      plugins: [['react-native-image-source-to-base64', {limit: 2 * 1024}]],
    };

    Keywords

    none

    Install

    npm i babel-plugin-react-native-image-source-to-base64

    DownloadsWeekly Downloads

    3

    Version

    0.0.2

    License

    IMT

    Unpacked Size

    10.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • chengbo