frend.co icon indicating copy to clipboard operation
frend.co copied to clipboard

package.json main file

Open thomasdigby opened this issue 9 years ago • 3 comments

As per this shouldn't we be referencing the compiled file in package.json main rather than the src?

https://github.com/rollup/rollup/wiki/jsnext:main

thomasdigby avatar Aug 17 '16 14:08 thomasdigby

Huh. https://github.com/webpack/webpack/issues/1617#issuecomment-181713671

thomasdigby avatar Aug 17 '16 15:08 thomasdigby

Just want to point out that because of this I had some issue integrating frend with webpack: in my default webpack configuration i've node_modules/* excluded from transpiling with babel (a best practice); but as frend modules need transpiling, i had to switch on transpiling for node_modules/fr-

gunzip avatar Aug 18 '16 14:08 gunzip

Alright, we're on it. Queued up some npm/webpack documentation to read, hopefully we'll get a fix live by next week.

thomasdigby avatar Aug 18 '16 16:08 thomasdigby