react-css-loaders
react-css-loaders copied to clipboard
Correct build
libraries should be built with babel w/o webpack
-
webpack build broke tree-shaking in projects
-
webpack build broke sourcemaps
-
webpack team does not propose to use webpack for libraries

-
I have weird error with production build: TypeError: e is not a function
use please: https://github.com/gerhardsletten/react-css-loaders
also additional umd build may be useful for somebody
update: I fixed an error in that fork: https://github.com/a-x-/react-css-loaders/commit/01a5d330fa597bbf9769489025ad96b34d8e5491
I created react-css-loaders2 for now.