nativejsx-loader

2.0.0 • Public • Published

nativejsx-loader Build Status Version Status

Webpack loader for nativejsx.

So you're using Webpack. Of course you are – have a loader.

Example

let config = {
  // ...
  module: {
    preLoaders: [
      {
        test: /\.jsx$/,
        loader: 'nativejsx-loader',
        excludes: /node_modules/,
        query: {
          variablePrefix: '_',
          declarationType: 'let'
        }
      }
    ]
  }
};

Juicy Note :godmode:

With Webpack modules, we're able to include nativejsx dependencies for you.

(That means don't worry about appendChildren.js, setAttributes.js, or setStyles.js.)

Package Sidebar

Install

npm i nativejsx-loader

Weekly Downloads

4

Version

2.0.0

License

MIT

Last publish

Collaborators

  • treycordova