Basic Webpack loaders for JavaScript apps
Basic Webpack loaders:
babel-loader
with babel-preset-react-app presetcss-loader
andstyle-loader
json-loader
url-loader
for all other files
Based on create-react-app but don’t include Autoprefixer.
React Styleguidist
Usage withnpm install --save-dev loaders
// styleguide.config.jsconst loaders = ;moduleexports = components: 'lib/components/**/[A-Z]*.js' webpackConfig: module: // Enable all loaders loaders: loadersall // OR only needed loaders loaders: loadersbabel loaderscss loadersurl // Other loaders for your styleguide ;
Changelog
The changelog can be found on the Releases page.
Contributing
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Authors and license
Artem Sapegin and contributors.
MIT License, see the included License.md file.