Skip to content

Commit 68ae550

Browse files
authored
Fix "make install" to avoid installing npm dev dependencies. NFC (#19732)
End users of emscripten don't need to have devDependencies installed We already pass this flag when building the emscripten package in the emscripten-releases repo.
1 parent f8c6def commit 68ae550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dist: $(DISTFILE)
77
install:
88
@rm -rf $(DESTDIR)
99
./tools/install.py $(DESTDIR)
10-
npm install --prefix $(DESTDIR)
10+
npm install --production --prefix $(DESTDIR)
1111

1212
# Create an distributable archive of emscripten suitable for use
1313
# by end users. This archive excludes node_modules as it can include native

0 commit comments

Comments
 (0)