14721d314f
* chore: Disable `semi` in Prettier * chore: Format w/o semi * Remove more `;` * Lint example * More ;
20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const path = require('path')
|
|
const pak = require('../package.json')
|
|
|
|
module.exports = {
|
|
presets: ['module:metro-react-native-babel-preset'],
|
|
plugins: [
|
|
['react-native-reanimated/plugin'],
|
|
['react-native-worklets-core/plugin'],
|
|
[
|
|
'module-resolver',
|
|
{
|
|
alias: {
|
|
[pak.name]: path.join(__dirname, '..', pak.source),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
}
|