瀏覽代碼

Release 10.1.5 (this time hopefully for real)

As I was making the release, I found a bug in the Makefile that still
prevented the locale JSON files from being properly generated.
JC Brand 2 年之前
父節點
當前提交
5e02b9bd5d
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      Makefile

+ 6 - 1
Makefile

@@ -203,9 +203,14 @@ src/headless/dist/converse-headless.js: src webpack/webpack.common.js node_modul
 src/headless/dist/converse-headless.min.js: src webpack/webpack.common.js node_modules @converse/headless
 	npm run headless
 
-dist:: node_modules src/* | dist/website.css dist/website.min.css dist/converse-no-dependencies.js
+dist:: node_modules src/* | dist/website.css dist/website.min.css
 	npm run headless
 	npm run build
+	# This step is necessary to properly generate JSON files from the .po
+	# files. The nodeps config uses preset-env with IE11 to turn all template
+	# literals into old JS strings, which is required because gettext 0.21
+	# doesn't support template literals.
+	npm run nodeps
 
 .PHONY: install
 install:: dist