@nx/webpack 23.2.0-beta.6 → 23.2.0-beta.8
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.
|
@@ -13,6 +13,8 @@ export declare function getCommonLoadersForCssModules(options: NormalizedNxAppWe
|
|
|
13
13
|
modules: {
|
|
14
14
|
mode: string;
|
|
15
15
|
getLocalIdent: typeof getCSSModuleLocalIdent;
|
|
16
|
+
namedExport: boolean;
|
|
17
|
+
exportLocalsConvention: string;
|
|
16
18
|
};
|
|
17
19
|
importLoaders: number;
|
|
18
20
|
implementation?: undefined;
|
|
@@ -25,6 +25,11 @@ function getCommonLoadersForCssModules(options, includePaths) {
|
|
|
25
25
|
modules: {
|
|
26
26
|
mode: 'local',
|
|
27
27
|
getLocalIdent: get_css_module_local_ident_1.getCSSModuleLocalIdent,
|
|
28
|
+
// css-loader 7 defaults namedExport to true, and to camel-case-only
|
|
29
|
+
// locals when it is off. Generated components import the default
|
|
30
|
+
// export and reference class names as authored, so pin both.
|
|
31
|
+
namedExport: false,
|
|
32
|
+
exportLocalsConvention: 'asIs',
|
|
28
33
|
},
|
|
29
34
|
importLoaders: 1,
|
|
30
35
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/webpack",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"browserslist": "^4.26.0",
|
|
95
95
|
"picocolors": "^1.1.0",
|
|
96
96
|
"copy-webpack-plugin": "^14.0.0",
|
|
97
|
-
"css-loader": "^
|
|
97
|
+
"css-loader": "^7.1.4",
|
|
98
98
|
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
99
99
|
"fork-ts-checker-webpack-plugin": "9.1.0",
|
|
100
100
|
"less": ">=4.1.3 <4.9.0",
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"tslib": "^2.3.0",
|
|
119
119
|
"webpack-node-externals": "^3.0.0",
|
|
120
120
|
"webpack-subresource-integrity": "^5.1.0",
|
|
121
|
-
"@nx/
|
|
122
|
-
"@nx/
|
|
121
|
+
"@nx/devkit": "23.2.0-beta.8",
|
|
122
|
+
"@nx/js": "23.2.0-beta.8"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
125
|
"webpack": "^5.0.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
|
-
"nx": "23.2.0-beta.
|
|
141
|
+
"nx": "23.2.0-beta.8"
|
|
142
142
|
},
|
|
143
143
|
"publishConfig": {
|
|
144
144
|
"access": "public"
|