rollup-plugin-innet-jsx
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

NPM downloads license

rollup-plugin-innet-jsx

🍣 A Rollup plugin which converts jsx to object (JSXElement from innet).

CHANGELOG

stars watchers

Requirements

This plugin requires an LTS Node version (v8.0.0+) and Rollup v1.20.0+.

Install

npm

npm i -D rollup-plugin-innet-jsx

yarn

yarn add -D rollup-plugin-innet-jsx

Usage

Create a rollup.config.js configuration file and import the plugin:

import jsx from 'rollup-plugin-innet-jsx';

module.exports = {
  input: 'src/index.jsx',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [
    jsx()
  ]
};

Then call rollup either via the CLI or the API. If the build produces any errors, the plugin will write a 'alias' character to stderr, which should be audible on most systems.

Issues

If you find a bug or have a suggestion, please file an issue on GitHub.

issues

/rollup-plugin-innet-jsx/

    Package Sidebar

    Install

    npm i rollup-plugin-innet-jsx

    Weekly Downloads

    2

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    6.25 kB

    Total Files

    7

    Last publish

    Collaborators

    • deight