diff --git a/public/themes/custom/hdbt_subtheme/hdbt_subtheme.info.yml b/public/themes/custom/hdbt_subtheme/hdbt_subtheme.info.yml index 4e0d2e2b..8ea64654 100644 --- a/public/themes/custom/hdbt_subtheme/hdbt_subtheme.info.yml +++ b/public/themes/custom/hdbt_subtheme/hdbt_subtheme.info.yml @@ -26,6 +26,6 @@ regions: attachments: Attachments # Libraries -libraries: - - hdbt_subtheme/global-styling - - hdbt_subtheme/global-scripting +#libraries: +# - hdbt_subtheme/global-styling +# - hdbt_subtheme/global-scripting diff --git a/public/themes/custom/hdbt_subtheme/hdbt_subtheme.libraries.yml b/public/themes/custom/hdbt_subtheme/hdbt_subtheme.libraries.yml index 5d9f9e75..f8bf6f66 100644 --- a/public/themes/custom/hdbt_subtheme/hdbt_subtheme.libraries.yml +++ b/public/themes/custom/hdbt_subtheme/hdbt_subtheme.libraries.yml @@ -9,6 +9,6 @@ global-styling: global-scripting: version: 1.x js: - dist/js/bundle.min.js: {} + dist/js/common.min.js: {} dependencies: - core/drupal diff --git a/public/themes/custom/hdbt_subtheme/package-lock.json b/public/themes/custom/hdbt_subtheme/package-lock.json index 7355c8fc..185f8238 100644 --- a/public/themes/custom/hdbt_subtheme/package-lock.json +++ b/public/themes/custom/hdbt_subtheme/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "hdbt_subtheme", "version": "1.0.0", + "hasInstallScript": true, "license": "MIT", "dependencies": { "@babel/core": "^7.14.3", @@ -3074,9 +3075,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001451", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001451.tgz", - "integrity": "sha512-XY7UbUpGRatZzoRft//5xOa69/1iGJRBlrieH6QYrkKLIFn3m7OVEJ81dSrKoy2BnKsdbX5cLrOispZNYo9v2w==", + "version": "1.0.30001486", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001486.tgz", + "integrity": "sha512-uv7/gXuHi10Whlj0pp5q/tsK/32J2QSqVRKQhs2j8VsDCjgyruAh/eEXHF822VqO9yT6iZKw3nRwZRSPBE9OQg==", "funding": [ { "type": "opencollective", @@ -3085,6 +3086,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, diff --git a/public/themes/custom/hdbt_subtheme/package.json b/public/themes/custom/hdbt_subtheme/package.json index e5d6a327..07db5050 100644 --- a/public/themes/custom/hdbt_subtheme/package.json +++ b/public/themes/custom/hdbt_subtheme/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "webpack --progress --mode=development --config webpack.config.js --watch", "build": "webpack --progress --mode=production --config webpack.config.js", + "preinstall": "npx browserslist@latest --update-db", "lint": "lint-staged", "lint:js": "eslint --fix src/" },