Use webpack.NormalModuleReplacementPlugin to generate react-native bundle

This commit is contained in:
2021-06-30 15:14:00 +02:00
parent dea4a05903
commit 074bb2d8d5
4 changed files with 9 additions and 21 deletions

View File

@@ -1,9 +1,5 @@
/// #if target == 'native'
import xml2js from 'react-native-xml2js';
/// #else
import xml2js from 'xml2js';
/// #endif
import xml2js from 'xml2js';
import { featureCollection } from '@turf/helpers';
import area from '@turf/area';