Skip to content

Commit cc469a5

Browse files
committed
manifest v3 migration
1 parent d736a8a commit cc469a5

27 files changed

Lines changed: 626 additions & 1112 deletions

Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ CRXMAKE_DIR=./crxmake
1010
TMPFILELIST=/tmp/filelist
1111

1212
$(NAME)-$(VERSION).zip: $(SRC)
13-
./node_modules/.bin/jasmine || exit
14-
find "$(EXTENSIONDIR)" | sed 's/$(EXTENSIONDIR)/./' > $(TMPFILELIST)
13+
find "$(EXTENSIONDIR)" | sed 's/$(EXTENSIONDIR)/./' | grep -v .js.map > $(TMPFILELIST)
1514
cd $(EXTENSIONDIR); cat $(TMPFILELIST) | zip -q $(DIRNAME)/$@ -@
1615

1716
$(SRC):
18-
./node_modules/.bin/webpack
19-
20-
test:
21-
./node_modules/.bin/jasmine
17+
./node_modules/.bin/webpack --mode=production
2218

2319
watch:
24-
./node_modules/.bin/webpack -w
20+
./node_modules/.bin/webpack -w --mode=development
2521

2622
clean:
2723
rm $(NAME).crx $(NAME).zip

0 commit comments

Comments
 (0)