@htcoaching/config-webpack-components

Webpack configuration for creating component module builds

Usage no npm install needed!

<script type="module">
  import htcoachingConfigWebpackComponents from 'https://cdn.skypack.dev/@htcoaching/config-webpack-components';
</script>

README

(StyleLint)[https://github.com/emilgoldsmith/stylelint-custom-processor-loader]

This exists because the components should be built and bundled the same way that they are built and bundled when being developed. Seeing as we use Storybook to do our component development, we need to ensure that the production bundle is the same as the development bundle. The only way to do that is to share this config with Storybook.

Babel will also dicate this as well, which is why Babel is wrapped up into its own package