react-css-loaders icon indicating copy to clipboard operation
react-css-loaders copied to clipboard

Correct build

Open a-x- opened this issue 8 years ago • 2 comments

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

a-x- avatar Oct 16 '17 18:10 a-x-

update: I fixed an error in that fork: https://github.com/a-x-/react-css-loaders/commit/01a5d330fa597bbf9769489025ad96b34d8e5491

a-x- avatar Oct 16 '17 18:10 a-x-

I created react-css-loaders2 for now.

a-x- avatar Oct 16 '17 19:10 a-x-