outer-css-classname-loader
v0.0.1
Published
Downloads
1
Maintainers
Readme
outer-css-classname-loader
Install
npm i outer-css-classname-loader --save-dev
Usage
In your webpack config:
loader: 'css-loader!outer-css-classname-loader'
Options
Provide options to the module as a query string or query object
loader: 'css-loader!outer-css-classname-loader?id=root'
loader: ['css-loader', {
loader: 'outer-css-classname-loader',
options: {
id: 'root'
}
}]
id
(string) (default: 'root')
export default <div className="root"></div>