How to use the @lingui/babel-plugin-transform-react.default function in @lingui/babel-plugin-transform-react

To help you get started, we’ve selected a few @lingui/babel-plugin-transform-react 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 lingui / js-lingui / packages / babel-preset-react / index.js View on Github external
var transformJs = require("@lingui/babel-plugin-transform-js").default
var transformReact = require("@lingui/babel-plugin-transform-react").default

module.exports = function(context, opts) {
  return {
    plugins: [transformJs, transformReact]
  }
}

@lingui/babel-plugin-transform-react

Transform React components to ICU message format

MIT
Latest version published 4 years ago

Package Health Score

65 / 100
Full package analysis