This adds Webpack support.
There are two faces of this:
1 - Add the browser entry to package.json, as described in https://github.com/asvd/jailed/issues/22
2 - jailed.js fails with latest Webpacks, because the process variable is defined. I added another test to check if process.browser is false, before we decide we are on Node.
This adds Webpack support. There are two faces of this:
1 - Add the
browser
entry topackage.json
, as described in https://github.com/asvd/jailed/issues/22 2 -jailed.js
fails with latest Webpacks, because the process variable is defined. I added another test to check ifprocess.browser
is false, before we decide we are on Node.