Current ES / CommonJS distributions of lemon-reset make some assumptions about your build process (namely that you have css-loader, extract-text, etc... set up). This provides a pair of JS / CSS bundles that can be used independently in any module system, or directly in a browser without a build step. E.g:
I also refactored a bunch of stuff to make the build smaller while I was here (the JS bundle is now 8K / 2K gzipped, down from 22K).
Having the standalone CSS bundle is especially helpful when you want to include lemon-reset in multiple JS bundles on a page without worrying about the reset styles in the second bundle overriding custom styles from the first bundle.
Current ES / CommonJS distributions of lemon-reset make some assumptions about your build process (namely that you have css-loader, extract-text, etc... set up). This provides a pair of JS / CSS bundles that can be used independently in any module system, or directly in a browser without a build step. E.g:
I also refactored a bunch of stuff to make the build smaller while I was here (the JS bundle is now 8K / 2K gzipped, down from 22K).
Having the standalone CSS bundle is especially helpful when you want to include lemon-reset in multiple JS bundles on a page without worrying about the reset styles in the second bundle overriding custom styles from the first bundle.