UNPKG

@saserinn/react-native-battery-optimization-check

Version:

A fork from react-native-battery-optimization-check with the declarations for typescript applications

18 lines (16 loc) 381 B
const path = require('path'); const pak = require('../package.json'); module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ [ 'module-resolver', { extensions: ['.tsx', '.ts', '.js', '.json'], alias: { [pak.name]: path.join(__dirname, '..', pak.source), }, }, ], ], };