Update @hypothesis/frontend-shared to v4.0.0
This required a couple of changes to adapt to the removal of the CommonJS build. Some modules from the pattern library web app triggered a Babel warning about top-level `this`. I copied across the workaround from `rollup.config.js` in the @hypothesis/frontend-shared library.
Showing
... | ... | @@ -13,7 +13,7 @@ |
"@babel/preset-env": "^7.1.6", | ||
"@babel/preset-react": "^7.0.0", | ||
"@hypothesis/frontend-build": "^1.0.1", | ||
"@hypothesis/frontend-shared": "3.14.0", | ||
"@hypothesis/frontend-shared": "^4.0.0", | ||
"@octokit/rest": "^18.0.0", | ||
"@rollup/plugin-alias": "^3.1.2", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
... | ... |
Please register or sign in to comment