jsxdom-babel-loader

0.1.0 • Public • Published

jsxdom-loader Build Status Version Status

Webpack loader for jsxdom.

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

Example

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

Juicy Note :godmode:

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

(That means don't worry about appendChildren.js and setAttributes.js.)

/jsxdom-babel-loader/

    Package Sidebar

    Install

    npm i jsxdom-babel-loader

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • benderthecrime