You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,24 +26,24 @@ To develop ArchiveWeb.page, Node 12+ and Yarn are needed.
26
26
27
27
The production version of the extension is published to the [Chrome Web Store](https://chrome.google.com/webstore/detail/webrecorder/fpeoodllldobpkbkabpblcfaogecpndd)
28
28
29
-
For development, the extension can be installed from the `wr-ext` directory as an unpacked extension.
30
-
If you want to make changes to the extension, it should be installed in this way. This will be a different version than the production version of the extension.
29
+
For development, the extension can be built locally and loaded as an unpacked extension.
30
+
If you want to make changes to the extension, it should be installed in this way.
31
31
32
-
1. Clone this repo
32
+
1. Clone this repo. Run `yarn install; yarn build-dev`. (You can also run `yarn build` to build the production version but it may be harder to debug).
33
33
34
-
2. Open the Chrome Extensions page (chrome://extensions).
34
+
3. Open the Chrome Extensions page (chrome://extensions).
35
35
36
-
3. Choose 'Load Unpacked Extension' and point to the `./wr-ext` directory in your local copy of this repo.
36
+
4. Choose 'Load Unpacked Extension' and point to the `./dist/ext` directory in your local copy of this repo.
37
37
38
-
4. Click the extension icon to show the extension popup, start recording, etc...
38
+
5. Click the extension icon to show the extension popup, start archiving, etc...
39
39
40
40
### Development Workflow
41
41
42
42
For development, it is recommended to use the dev build of the extension:
43
43
44
44
1. Run ``yarn install`` and then ``yarn run build-dev``
45
45
46
-
2. Run ``yarn run start-ext`` -- this will ensure the `wr-ext` directory is rebuilt after any changes to the source.
46
+
2. Run ``yarn run start-ext`` -- this will ensure the `dist/ext` directory is rebuilt after any changes to the source.
47
47
48
48
3. After making changes, the extension still needs to be reloaded in the browser. From the Chrome extensions page, click the reload button to load the latest version.
0 commit comments