use require import does not work
jianhui1012 opened this issue · comments
hi, how to handle the following situation?
the code
var React = require('react');
var { StyleSheet }= React;
Expect Result:
var React = require('react');
var { StyleSheet }= require('react-native');
It will always convert to import from