advanced aggregate, webpack gzip
This commit is contained in:
parent
97d14c297c
commit
54d5b054f7
1
.gitignore
vendored
1
.gitignore
vendored
@ -44,3 +44,4 @@ node_modules/
|
||||
|
||||
config/sync/flag.flag.*.yml
|
||||
config/sync/system.action.flag_action.*.yml
|
||||
|
||||
|
@ -6,6 +6,7 @@ const baseConfig = require('./webpack.config.base')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
const TerserPlugin = require("terser-webpack-plugin");
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
const CompressionPlugin = require("compression-webpack-plugin");
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'production',
|
||||
@ -74,6 +75,7 @@ module.exports = merge(baseConfig, {
|
||||
}),
|
||||
new BundleAnalyzerPlugin({
|
||||
'analyzerMode': 'static'
|
||||
})
|
||||
}),
|
||||
new CompressionPlugin(),
|
||||
]
|
||||
})
|
||||
|
8
composer.lock
generated
8
composer.lock
generated
@ -2720,7 +2720,7 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.drupalcode.org/project/advagg.git",
|
||||
"reference": "998266aa62c7f6a3beaa5b79a219f8c6dc4e8b92"
|
||||
"reference": "631b11135c8d435ad5cb2798a26806b4257a347a"
|
||||
},
|
||||
"require": {
|
||||
"drupal/core": "^8.8 || ^9",
|
||||
@ -2732,8 +2732,8 @@
|
||||
"dev-4.x": "4.x-dev"
|
||||
},
|
||||
"drupal": {
|
||||
"version": "8.x-4.1+4-dev",
|
||||
"datestamp": "1610042748",
|
||||
"version": "8.x-4.1+5-dev",
|
||||
"datestamp": "1610050173",
|
||||
"security-coverage": {
|
||||
"status": "not-covered",
|
||||
"message": "Dev releases are not covered by Drupal security advisories."
|
||||
@ -2790,7 +2790,7 @@
|
||||
"issues": "https://drupal.org/project/issues/advagg",
|
||||
"irc": "irc://irc.freenode.org/drupal-contribute"
|
||||
},
|
||||
"time": "2021-01-07T20:09:11+00:00"
|
||||
"time": "2021-04-27T14:09:50+00:00"
|
||||
},
|
||||
{
|
||||
"name": "drupal/advanced_text_formatter",
|
||||
|
26
config/sync/advagg.settings.yml
Normal file
26
config/sync/advagg.settings.yml
Normal file
@ -0,0 +1,26 @@
|
||||
css:
|
||||
brotli: true
|
||||
combine_media: false
|
||||
fix_type: true
|
||||
preserve_external: false
|
||||
dns_prefetch: false
|
||||
path:
|
||||
convert:
|
||||
absolute_to_protocol_relative: true
|
||||
absolute: false
|
||||
force_https: false
|
||||
cache_level: 2
|
||||
cron_frequency: 86400
|
||||
enabled: true
|
||||
global_counter: 0
|
||||
immutable: true
|
||||
js:
|
||||
brotli: true
|
||||
fix_type: true
|
||||
preserve_external: false
|
||||
skip_enabled_preprocess_check: false
|
||||
show_bypass_cookie_message: true
|
||||
symlinks: false
|
||||
symlinksifownermatch: false
|
||||
_core:
|
||||
default_config_hash: Vi3b7DLLNw5X1UX9XG8mnU-ysvyNgdyvAasxV9yck3I
|
@ -3,6 +3,7 @@ module:
|
||||
address: 0
|
||||
admin_toolbar: 0
|
||||
admin_toolbar_links_access_filter: 0
|
||||
advagg: 0
|
||||
advanced_text_formatter: 0
|
||||
advancedqueue: 0
|
||||
amswap: 0
|
||||
|
@ -12,7 +12,7 @@ urls_to_exclude: "admin/.*\r\nuser/.*"
|
||||
offline_page: /offline
|
||||
cache_version: '1'
|
||||
cross_origin: false
|
||||
skip_waiting: false
|
||||
skip_waiting: true
|
||||
_core:
|
||||
default_config_hash: cP1TZQyv1WdET3iepl2QoyOPK7VeO0xHm0lU_FU1Wmc
|
||||
image: /sites/default/files/pwa/PWA-icon.png
|
||||
|
17
config/sync/ultimate_cron.job.advagg_cron.yml
Normal file
17
config/sync/ultimate_cron.job.advagg_cron.yml
Normal file
@ -0,0 +1,17 @@
|
||||
uuid: 17ec0f7b-9a3b-4907-a034-564431be92ae
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- advagg
|
||||
title: 'Default cron handler'
|
||||
id: advagg_cron
|
||||
weight: 0
|
||||
module: advagg
|
||||
callback: advagg_cron
|
||||
scheduler:
|
||||
id: simple
|
||||
launcher:
|
||||
id: serial
|
||||
logger:
|
||||
id: database
|
23
package-lock.json
generated
23
package-lock.json
generated
@ -3186,6 +3186,29 @@
|
||||
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==",
|
||||
"dev": true
|
||||
},
|
||||
"compression-webpack-plugin": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/compression-webpack-plugin/-/compression-webpack-plugin-8.0.0.tgz",
|
||||
"integrity": "sha512-/pBUx1gV8nL6YPKKa9QRs4xoemU28bfqAu8z5hLy2eTrWog4fU8lQYtlpbYwCWtIfAHLxsgSUHjk9RqK6UL+Yw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"schema-utils": "^3.0.0",
|
||||
"serialize-javascript": "^5.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"schema-utils": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
|
||||
"integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/json-schema": "^7.0.6",
|
||||
"ajv": "^6.12.5",
|
||||
"ajv-keywords": "^3.5.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||
|
@ -42,6 +42,7 @@
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-loader": "^8.2.1",
|
||||
"compression-webpack-plugin": "^8.0.0",
|
||||
"copy-webpack-plugin": "^6.3.2",
|
||||
"css-loader": "^5.0.1",
|
||||
"eslint": "^7.14.0",
|
||||
|
BIN
web/modules/dev/term_reference_tree-8.x-1.x-dev.tar.gz
Normal file
BIN
web/modules/dev/term_reference_tree-8.x-1.x-dev.tar.gz
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/1803a84304fbe15f80956efaae882e02.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/1803a84304fbe15f80956efaae882e02.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/3af7a2d2364adcc48e6af49e406773ee.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/3af7a2d2364adcc48e6af49e406773ee.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/5f5b44f93726b220fb6e7ebd54d91668.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/5f5b44f93726b220fb6e7ebd54d91668.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/79e610e4ccd14907fa01d46e4fba5671.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/79e610e4ccd14907fa01d46e4fba5671.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/b3d0f190163ecd732adda82871604a5c.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/b3d0f190163ecd732adda82871604a5c.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/be810a8dfab8c64a45637b21cbfda8f5.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/be810a8dfab8c64a45637b21cbfda8f5.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/ca5ecf294f9f30302fa7e4d40ee1f3b6.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/ca5ecf294f9f30302fa7e4d40ee1f3b6.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/d9b56a97449c5bdb9ddc033ec18496c7.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/d9b56a97449c5bdb9ddc033ec18496c7.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/ea3d3b35e03ba2dd8d83106651f8f5a1.svg.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/ea3d3b35e03ba2dd8d83106651f8f5a1.svg.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/main.css.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/main.css.gz
vendored
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
web/themes/custom/materiotheme/assets/dist/main.js.LICENSE.txt.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/main.js.LICENSE.txt.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-article.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-article.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-base.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-base.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-blabla.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-blabla.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-mdi.css.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-mdi.css.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-pricing.css.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-pricing.css.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/module-thematique.bundle.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/module-thematique.bundle.js.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/print.css.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/print.css.gz
vendored
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-B-webfont.7fa6a36.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-B-webfont.7fa6a36.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-BI-webfont.6157dcc.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-BI-webfont.6157dcc.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-C-webfont.078c965.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-C-webfont.078c965.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-L-webfont.2d6bf3a.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-L-webfont.2d6bf3a.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-LI-webfont.da7ea56.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-LI-webfont.da7ea56.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-M-webfont.b651dda.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-M-webfont.b651dda.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-MI-webfont.86c7c2c.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-MI-webfont.86c7c2c.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-R-webfont.2a59e6c.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-R-webfont.2a59e6c.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-RI-webfont.5b42e4b.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/Ubuntu-RI-webfont.5b42e4b.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/materialdesignicons-webfont.0e4e0b3.ttf.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/materialdesignicons-webfont.0e4e0b3.ttf.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/materialdesignicons-webfont.53f53f5.eot.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/static/fonts/materialdesignicons-webfont.53f53f5.eot.gz
vendored
Normal file
Binary file not shown.
BIN
web/themes/custom/materiotheme/assets/dist/vclb.js.gz
vendored
Normal file
BIN
web/themes/custom/materiotheme/assets/dist/vclb.js.gz
vendored
Normal file
Binary file not shown.
@ -17,7 +17,7 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
// console.log('Home beforeMount')
|
||||
console.log('Home beforeMount, full', this.full)
|
||||
// compile the html src (coming from parent with props or from ajax call)
|
||||
if (this.html) {
|
||||
// console.log('html', this.html)
|
||||
|
Loading…
x
Reference in New Issue
Block a user