mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 21:47:56 +00:00
48b51828fa
- Add guard for import.meta in endpoints.ts for React Native compatibility - Add jsEngine: jsc to app.json to match gradle.properties - Add @babel/plugin-transform-class-static-block for @pezkuwi/types-codec
17 lines
281 B
JavaScript
17 lines
281 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true);
|
|
return {
|
|
presets: [
|
|
[
|
|
'babel-preset-expo',
|
|
{
|
|
unstable_transformImportMeta: true,
|
|
},
|
|
],
|
|
],
|
|
plugins: [
|
|
'@babel/plugin-transform-class-static-block',
|
|
],
|
|
};
|
|
};
|