Skip to content

Commit e65ba34

Browse files
committed
Revert "Move webpack script to postinstall hook"
This reverts commit e45bae6.
1 parent 4664f0f commit e65ba34

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ jobs:
1212
with:
1313
cache: "npm"
1414
- run: npm ci
15+
- run: npm run build
1516
- run: npm run type
1617
- run: npm test

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ Testing Library Extension for Chrome DevTools Recorder
66

77
1. Clone the repo
88
2. `npm install`
9-
3. Visit `chrome://extensions`
10-
4. Enable `Developer mode` via toggle switch in upper right corner
11-
5. Click `Load unpacked` button in upper left corner
12-
6. Select the `dist` directory
9+
3. `npm run build`
10+
4. Visit `chrome://extensions`
11+
5. Enable `Developer mode` via toggle switch in upper right corner
12+
6. Click `Load unpacked` button in upper left corner
13+
7. Select the `dist` directory
1314

1415
## Usage
1516

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"private": true,
33
"scripts": {
4-
"postinstall": "webpack --mode=production",
54
"start": "webpack --mode=development --watch",
5+
"build": "webpack --mode=production",
66
"type": "tsc",
77
"test": "jest"
88
},

0 commit comments

Comments
 (0)