How to use the vue-native-scripts.transform function in vue-native-scripts

To help you get started, we’ve selected a few vue-native-scripts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GeekyAnts / vue-native-cli / src / utils / vueTransformerPlugin.js View on Github external
module.exports.transform = function({ src, filename, options }) {
  if (vueExtensions.some(ext => filename.endsWith("." + ext))) {
    return vueNativeScripts.transform({ src, filename, options });
  }
  return upstreamTransformer.transform({ src, filename, options });
};

vue-native-scripts

Compile Vue Native components to React Native

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages