mirror of
https://github.com/expo/expo-cli.git
synced 2026-11-15 03:58:07 -10:00
20 lines
352 B
JavaScript
20 lines
352 B
JavaScript
module.exports = api => {
|
|
api.cache(true);
|
|
|
|
return {
|
|
presets: ['next/babel'],
|
|
plugins: [
|
|
['emotion', { inline: true }],
|
|
[
|
|
'module-resolver',
|
|
{
|
|
alias: {
|
|
app: '.',
|
|
},
|
|
},
|
|
],
|
|
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
|
],
|
|
};
|
|
};
|