@griddo/ax 1.73.20 → 1.73.22

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.
@@ -22,10 +22,11 @@ const ModuleNotFoundPlugin = require("react-dev-utils/ModuleNotFoundPlugin");
22
22
  const ForkTsCheckerWebpackPlugin = require("react-dev-utils/ForkTsCheckerWebpackPlugin");
23
23
  const typescriptFormatter = require("react-dev-utils/typescriptFormatter");
24
24
  const ReactRefreshWebpackPlugin = require("@pmmmwh/react-refresh-webpack-plugin");
25
- const { resolveComponentsPath } = require("../config/griddo-config");
26
25
 
27
26
  const postcssNormalize = require("postcss-normalize");
28
27
 
28
+ const { resolveComponentsPath, projectAliases } = require("../config/griddo-config");
29
+
29
30
  //
30
31
  // PostCSS config file from components
31
32
  //
@@ -45,8 +46,6 @@ if (fs.existsSync(postcssConfigPath)) {
45
46
  postcssConfigPlugins = postcssConfig.plugins || [];
46
47
  }
47
48
 
48
- const { projectAliases } = require("./griddo-config");
49
-
50
49
  const appPackageJson = require(paths.appPackageJson);
51
50
 
52
51
  // Source maps are resource heavy and can cause out of memory issue for large source files.
@@ -105,7 +104,7 @@ module.exports = function (webpackEnv) {
105
104
  const shouldUseReactRefresh = env.raw.FAST_REFRESH;
106
105
 
107
106
  // common function to get style loaders
108
- const getStyleLoaders = (cssOptions, preProcessor) => {
107
+ const getStyleLoaders = (cssOptions, preProcessor, preProcessorOptions = {}) => {
109
108
  const loaders = [
110
109
  isEnvDevelopment && require.resolve("style-loader"),
111
110
  isEnvProduction && {
@@ -148,6 +147,7 @@ module.exports = function (webpackEnv) {
148
147
  },
149
148
  },
150
149
  ].filter(Boolean);
150
+
151
151
  if (preProcessor) {
152
152
  loaders.push(
153
153
  {
@@ -161,6 +161,7 @@ module.exports = function (webpackEnv) {
161
161
  loader: require.resolve(preProcessor),
162
162
  options: {
163
163
  sourceMap: true,
164
+ ...preProcessorOptions,
164
165
  },
165
166
  }
166
167
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/ax",
3
3
  "description": "Griddo Author Experience",
4
- "version": "1.73.20",
4
+ "version": "1.73.22",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -108,6 +108,7 @@
108
108
  "lodash.isequal": "4.5.0",
109
109
  "markdown-draft-js": "^2.2.1",
110
110
  "mini-css-extract-plugin": "0.11.3",
111
+ "node-sass": "^6.0.0",
111
112
  "optimize-css-assets-webpack-plugin": "^6.0.1",
112
113
  "pkg-dir": "^5.0.0",
113
114
  "polished": "3.4.1",
@@ -138,7 +139,8 @@
138
139
  "reflect-metadata": "0.1.13",
139
140
  "resolve": "^1.20.0",
140
141
  "resolve-url-loader": "^4.0.0",
141
- "sass-loader": "^8.0.2",
142
+ "sass-alias": "^1.0.5",
143
+ "sass-loader": "^10.0.0",
142
144
  "semver": "^7.3.5",
143
145
  "source-map-loader": "^1.1.2",
144
146
  "string-replace-loader": "^3.0.1",
@@ -226,5 +228,5 @@
226
228
  "publishConfig": {
227
229
  "access": "public"
228
230
  },
229
- "gitHead": "2bca5a92a304e728dc1e4e1a220cefa9c0b5742e"
231
+ "gitHead": "640ea3e59e83aa3aaa1be770e91abde5c0a7d21a"
230
232
  }