jsxdom-babel-loader
v0.1.0
Published
Webpack loader for Babel/jsxdom
Downloads
2
Maintainers
Readme
jsxdom-loader
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
.)