Switch over to parcel-based build flow

This commit is contained in:
ronreg-ribdev 2021-01-02 23:16:22 -08:00
parent 0ca9142f61
commit e5db278283
13 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,8 @@
{
"dependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
"react-dom": "^17.0.1",
"webextension-polyfill": "^0.7.0"
},
"name": "urbit-browser-manager-extension",
"version": "0.0.1",

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,3 +1,5 @@
const browser = require("webextension-polyfill");
const urbitIdSelector = document.querySelector("#urbitId");
const urbitCodeSelector = document.querySelector("#urbitCode");

View File

@ -12,7 +12,6 @@
<button id="options">Options</button>
</main>
<script src="browser-polyfill.min.js"></script>
<script src="popup.js"></script>
</body>
</html>

View File

@ -1,3 +1,5 @@
const browser = require("webextension-polyfill");
console.log("popup.js running");
const getLocalStorage = browser.storage.sync.get();

View File

@ -5120,6 +5120,11 @@ wcwidth@^1.0.1:
dependencies:
defaults "^1.0.3"
webextension-polyfill@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.7.0.tgz#0df1120ff0266056319ce1a622b09ad8d4a56505"
integrity sha512-su48BkMLxqzTTvPSE1eWxKToPS2Tv5DLGxKexLEVpwFd6Po6N8hhSLIvG6acPAg7qERoEaDL+Y5HQJeJeml5Aw==
webidl-conversions@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"