[fix] babel-plugin support for 'react-native-web' module name

Now rewrites import/export/require statements from 'react-native-web'.
Install the plugin in the 'benchmarks' package.
This commit is contained in:
Nicolas Gallagher
2018-01-01 12:01:22 -08:00
parent 46e77d0b00
commit 209bd3aee1
13 changed files with 372 additions and 368 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"scripts": {
"benchmark": "cd packages/benchmarks && yarn benchmark",
"clean": "del ./packages/*/dist",
"compile": "yarn clean && cd packages/react-native-web && babel src --optional runtime --out-dir dist --ignore \"__tests__\"",
"compile": "yarn clean && cd packages/react-native-web && babel src --out-dir dist --ignore \"**/__tests__\"",
"docs:start": "cd website && yarn start",
"docs:release": "cd website && yarn release",
"flow": "flow",