anthonyshort / deku

Render interfaces using pure functions and virtual DOM
https://github.com/anthonyshort/deku/tree/master/docs
3.42k stars 131 forks source link

Not webpack friendly #309

Closed queckezz closed 8 years ago

queckezz commented 8 years ago

Requiring deku with webpack gives me the following warning:

image

This is because you built the final bundle with browserify which means that it has its own bundle context (require etc.)

I would suggest:

// package.json
{
  "scripts": { "prepublish": "rm -rf lib && babel src --out-dir lib" }
}

I can't change this since I'm on a windows machine and don't have make.

Awesome work on 2.0.0-rc btw! Really excited.

anthonyshort commented 8 years ago

This should be fixed in 2.0.0-rc4, although I still need to fix #310