You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/08/31 11:49:10 UTC
[superset] 02/03: chore(build): upgrade less-loader (#19703)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 1.5
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 52e1349accd944dc60c383d350e0ec522924b329
Author: Jesse Yang <je...@airbnb.com>
AuthorDate: Tue Apr 19 09:18:16 2022 -0700
chore(build): upgrade less-loader (#19703)
---
CHANGELOG.md | 1 +
superset-frontend/package.json | 2 +-
superset-frontend/tools/eslint-plugin-theme-colors/package.json | 6 +-----
superset-frontend/webpack.config.js | 4 +++-
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5e5c2dcae..7ffc20de64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,6 +43,7 @@ under the License.
- [#21018](https://github.com/apache/superset/pull/21018) perf: Memoize the common_bootstrap_payload (@bkyryliuk)
- [#20974](https://github.com/apache/superset/pull/20974) perf: Implement model specific lookups by id to improve performance (@bkyryliuk)
- [#20273](https://github.com/apache/superset/pull/20273) chore: adjust the psycopg2 version of k8s installation guide (@ensky)
+- [#19703](https://github.com/apache/superset/pull/19703) chore(build): upgrade less-loader (@ktmud)
### 1.5.1 (Thu May 26 14:45:20 2022 +0300)
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index bd111ab292..6674b3e0b6 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -306,7 +306,7 @@
"jsdom": "^16.4.0",
"lerna": "^4.0.0",
"less": "^3.12.2",
- "less-loader": "^5.0.0",
+ "less-loader": "^10.2.0",
"mini-css-extract-plugin": "^2.3.0",
"mock-socket": "^9.0.3",
"node-fetch": "^2.6.1",
diff --git a/superset-frontend/tools/eslint-plugin-theme-colors/package.json b/superset-frontend/tools/eslint-plugin-theme-colors/package.json
index 6832811e8a..25938c97bd 100644
--- a/superset-frontend/tools/eslint-plugin-theme-colors/package.json
+++ b/superset-frontend/tools/eslint-plugin-theme-colors/package.json
@@ -9,9 +9,5 @@
"keywords": [],
"license": "Apache-2.0",
"author": "Apache",
- "dependencies": {},
- "engines": {
- "node": "^16.9.1",
- "npm": "^7.5.4"
- }
+ "dependencies": {}
}
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index 6b3c4e30a8..a5e6cee810 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -383,7 +383,9 @@ const config = {
loader: 'less-loader',
options: {
sourceMap: isDevMode,
- javascriptEnabled: true,
+ lessOptions: {
+ javascriptEnabled: true,
+ },
},
},
],