JSV icon indicating copy to clipboard operation
JSV copied to clipboard

Rework jsv.js export/require shim to match uri.js

Open nickcmaynard opened this issue 9 years ago • 0 comments

Webpack doesn't detect the require() statements in jsv.js as-is - I tracked this down to the exports re-definition. The form used in uri.js works correctly in both Webpack and all the test pages, so I brought that into jsv.js.

So this pull request is a simple copy of the export/require definition logic from uri.js to jsv.js.

nickcmaynard avatar Oct 26 '16 11:10 nickcmaynard