Switch over to parcel-based build flow
This commit is contained in:
parent
0ca9142f61
commit
e5db278283
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-dom": "^17.0.1"
|
"react-dom": "^17.0.1",
|
||||||
|
"webextension-polyfill": "^0.7.0"
|
||||||
},
|
},
|
||||||
"name": "urbit-browser-manager-extension",
|
"name": "urbit-browser-manager-extension",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -1,3 +1,5 @@
|
|||||||
|
const browser = require("webextension-polyfill");
|
||||||
|
|
||||||
const urbitIdSelector = document.querySelector("#urbitId");
|
const urbitIdSelector = document.querySelector("#urbitId");
|
||||||
const urbitCodeSelector = document.querySelector("#urbitCode");
|
const urbitCodeSelector = document.querySelector("#urbitCode");
|
||||||
|
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
<button id="options">Options</button>
|
<button id="options">Options</button>
|
||||||
</main>
|
</main>
|
||||||
<script src="browser-polyfill.min.js"></script>
|
|
||||||
<script src="popup.js"></script>
|
<script src="popup.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -1,3 +1,5 @@
|
|||||||
|
const browser = require("webextension-polyfill");
|
||||||
|
|
||||||
console.log("popup.js running");
|
console.log("popup.js running");
|
||||||
|
|
||||||
const getLocalStorage = browser.storage.sync.get();
|
const getLocalStorage = browser.storage.sync.get();
|
@ -5120,6 +5120,11 @@ wcwidth@^1.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
defaults "^1.0.3"
|
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:
|
webidl-conversions@^4.0.2:
|
||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
|
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
|
||||||
|
Loading…
Reference in New Issue
Block a user