From cfe23e2d8eb9d2b198b58b4ec5464b209189418f Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 21 Feb 2023 18:06:29 -0800 Subject: Add js Bundle option for Search Facade noswitcher --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 7aef962..5a437f5 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,12 @@ "sha384-demo": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade.js'", "sha384-stork": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle_stork.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade_stork.js'", "sha384-tinysearch": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle_tinysearch.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade_tinysearch.js'", + "abridge-bundle-noswitcher": "uglifyjs themes/abridge/static/prestyle.js themes/abridge/static/search_facade.js themes/abridge/static/email.js themes/abridge/static/codecopy.js -c -m -o static/abridge.min.js", "abridge-bundle": "uglifyjs themes/abridge/static/prestyle.js themes/abridge/static/theme_button.js themes/abridge/static/search_facade.js themes/abridge/static/email.js themes/abridge/static/codecopy.js -c -m -o static/abridge-bundle.min.js", "abridge-bundle-demo": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle.min.js", "abridge-bundle-stork": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade_stork.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle-stork.min.js", "abridge-bundle-tinysearch": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade_tinysearch.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle-tinysearch.min.js", - "abridge": "npm run search-bundle && npm run sha256 && npm run sha384 && npm run abridge-bundle", + "abridge": "npm run search-bundle && npm run sha256 && npm run sha384 && npm run abridge-bundle && npm run abridge-bundle-noswitcher", "abridge-demo": "npm run search-bundle && npm run sha256-demo && npm run sha384-demo && npm run abridge-bundle-demo", "abridge-stork": "npm run search-bundle-stork && npm run sha256-stork && npm run sha384-stork && npm run abridge-bundle-stork", "abridge-tinysearch": "npm run search-bundle-tinysearch && npm run sha256-tinysearch && npm run sha384-tinysearch && npm run abridge-bundle-tinysearch", -- cgit v1.3.1