arui-scripts 19.1.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-test.log +10 -8
- package/CHANGELOG.md +23 -0
- package/README.md +1 -1
- package/build/bin/index.js +0 -0
- package/build/commands/build/client.js +49 -28
- package/build/commands/util/brotli-dictionary/create-dcb-file.d.ts +6 -0
- package/build/commands/util/brotli-dictionary/create-dcb-file.js +38 -0
- package/build/commands/util/brotli-dictionary/find-files-to-compress.d.ts +9 -0
- package/build/commands/util/brotli-dictionary/find-files-to-compress.js +57 -0
- package/build/commands/util/brotli-dictionary/get-bundle-files.d.ts +1 -0
- package/build/commands/util/brotli-dictionary/get-bundle-files.js +26 -0
- package/build/commands/util/create-dictionary-files.d.ts +1 -0
- package/build/commands/util/create-dictionary-files.js +55 -0
- package/build/configs/app-configs/calculate-dependent-config.js +19 -1
- package/build/configs/app-configs/get-defaults.js +6 -0
- package/build/configs/app-configs/types.d.ts +6 -0
- package/build/configs/server-externals-exemptions.js +0 -1
- package/build/configs/util/find-plugin.d.ts +2 -2
- package/build/configs/util/get-polyfills.d.ts +1 -1
- package/build/configs/util/get-polyfills.js +1 -14
- package/build/configs/util/resolve.d.ts +3 -1
- package/build/configs/webpack.client.js +32 -40
- package/build/plugins/reload-server-plugin.d.ts +2 -2
- package/build/plugins/reload-server-plugin.js +3 -1
- package/build/templates/nginx.conf.template.js +1 -0
- package/build/tsconfig-local.tsbuildinfo +1 -1
- package/docs/compression-dictionary.md +130 -0
- package/docs/modules.md +1 -2
- package/docs/settings.md +15 -2
- package/package.json +179 -178
|
@@ -8,6 +8,7 @@ const nginxTemplate = `client_max_body_size 20m;
|
|
|
8
8
|
server {
|
|
9
9
|
listen ${app_configs_1.configs.clientServerPort};
|
|
10
10
|
server_tokens off;
|
|
11
|
+
${app_configs_1.configs.dictionaryCompression.enablePreviousVersionHeaders ? 'brotli_auto_dictionary on;' : ''}
|
|
11
12
|
|
|
12
13
|
${app_configs_1.configs.clientOnly
|
|
13
14
|
? `location / {
|