resin/babel.config.js

18 lines
337 B
JavaScript
Raw Normal View History

2021-02-26 16:05:46 +00:00
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
require.resolve('babel-plugin-module-resolver'),
{
root: ["./"],
alias: {
"assets": "./assets",
"src": "./src"
}
}
]
]
};
};