https://github.com/dimensiondev/webextension-polyfill
https://github.com/dimensiondev/webextension-polyfill
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dimensiondev/webextension-polyfill
- Owner: DimensionDev
- Created: 2019-06-25T05:11:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T02:20:58.000Z (over 2 years ago)
- Last Synced: 2025-02-15T12:52:40.768Z (12 months ago)
- Language: TypeScript
- Size: 340 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webextension-shim
## Prebuilt
This shim will run a compiler in runtime. It is slow when transforming big files. To speed up, prebuilt your JS files so it won't go through the compiler in runtime.
```bash
# web-ext-prebuilt [extension_id]/[runtime_path_for_your_js] [file_path_to_your_js]
web-ext-prebuilt eofkdgkhfoebecmamljfaepckoecjhib/js/index.js dist/js/index.js
```
## Prebuilt all
```bash
# web-ext-prebuilts [extension_id] [folder]
web-ext-prebuilts eofkdgkhfoebecmamljfaepckoecjhib dist
```