@studyportals/webpack-helper 2.6.0 → 2.6.1-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/webpack-helper",
3
- "version": "2.6.0",
3
+ "version": "2.6.1-beta.2",
4
4
  "description": "A collection of standard configurations and helpers for webpack.",
5
5
  "main": "src/main.js",
6
6
  "scripts": {
@@ -37,10 +37,10 @@
37
37
  "css-loader": "^3.4.2",
38
38
  "file-loader": "^6.0.0",
39
39
  "mini-css-extract-plugin": "^0.9.0",
40
- "node-sass": "^4.13.1",
41
40
  "optimize-css-assets-webpack-plugin": "^5.0.3",
42
41
  "path": "^0.12.7",
43
- "sass-loader": "^8.0.2",
42
+ "sass": "^1.51.0",
43
+ "sass-loader": "^10.2.1",
44
44
  "terser-webpack-plugin": "^2.3.4",
45
45
  "ts-loader": "^6.2.1",
46
46
  "typescript": "^3.7.2",
@@ -106,8 +106,7 @@ class Configuration {
106
106
  return dependencies;
107
107
  }
108
108
  getCSSFileName() {
109
- var _a;
110
- const fileName = (_a = this.fileName, (_a !== null && _a !== void 0 ? _a : `style`));
109
+ const fileName = this.fileName || `style`;
111
110
  if (this.hash === false
112
111
  || typeof this.hash.css !== 'undefined'
113
112
  && this.hash.css === false) {