universal-jsx-loader

0.2.4 • Public • Published

Webpack loader for universal-jsx

Add the loader to your Webpack config, like so:

module: {
    preLoaders: [
      { test: /\.js$/, loaders: ['universal-jsx-loader'], exclude: /node_modules/ }
    ],
    loaders: [
      [etc...]
    ]
  }

This will convert the JSX syntax before any other processing is done.

Package Sidebar

Install

npm i universal-jsx-loader

Weekly Downloads

1

Version

0.2.4

License

ISC

Last publish

Collaborators

  • svenanders