@enact/cli 7.0.0-alpha.2 → 7.0.0-alpha.4
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/CHANGELOG.md +15 -0
- package/config/webpack.config.js +12 -7
- package/npm-shrinkwrap.json +16346 -16913
- package/package.json +35 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 7.0.0-alpha.4 (January 17, 2025)
|
|
2
|
+
|
|
3
|
+
* Updated all dependencies to the latest including React 19.
|
|
4
|
+
* Updated the minimum version of Node to `20.5.0`.
|
|
5
|
+
|
|
6
|
+
### pack
|
|
7
|
+
|
|
8
|
+
* Changed classnames to be hashed when production build.
|
|
9
|
+
|
|
10
|
+
## 7.0.0-alpha.3 (December 12, 2024)
|
|
11
|
+
|
|
12
|
+
### pack
|
|
13
|
+
|
|
14
|
+
* Updated npm-shrinkwrap.json to fix errors in `--production` option.
|
|
15
|
+
|
|
1
16
|
## 7.0.0-alpha.2 (December 6, 2024)
|
|
2
17
|
|
|
3
18
|
* Updated dependencies.
|
package/config/webpack.config.js
CHANGED
|
@@ -335,7 +335,7 @@ module.exports = function (
|
|
|
335
335
|
use: getStyleLoaders({
|
|
336
336
|
importLoaders: 1,
|
|
337
337
|
modules: {
|
|
338
|
-
getLocalIdent
|
|
338
|
+
...(isEnvProduction ? {} : {getLocalIdent})
|
|
339
339
|
}
|
|
340
340
|
})
|
|
341
341
|
},
|
|
@@ -346,7 +346,8 @@ module.exports = function (
|
|
|
346
346
|
use: getStyleLoaders({
|
|
347
347
|
importLoaders: 1,
|
|
348
348
|
modules: {
|
|
349
|
-
...(app.forceCSSModules ? {
|
|
349
|
+
...(app.forceCSSModules ? {} : {mode: 'icss'}),
|
|
350
|
+
...(!app.forceCSSModules && isEnvProduction ? {} : {getLocalIdent})
|
|
350
351
|
}
|
|
351
352
|
}),
|
|
352
353
|
// Don't consider CSS imports dead code even if the
|
|
@@ -360,7 +361,7 @@ module.exports = function (
|
|
|
360
361
|
use: getLessStyleLoaders({
|
|
361
362
|
importLoaders: 2,
|
|
362
363
|
modules: {
|
|
363
|
-
getLocalIdent
|
|
364
|
+
...(isEnvProduction ? {} : {getLocalIdent})
|
|
364
365
|
}
|
|
365
366
|
})
|
|
366
367
|
},
|
|
@@ -369,7 +370,8 @@ module.exports = function (
|
|
|
369
370
|
use: getLessStyleLoaders({
|
|
370
371
|
importLoaders: 2,
|
|
371
372
|
modules: {
|
|
372
|
-
...(app.forceCSSModules ? {
|
|
373
|
+
...(app.forceCSSModules ? {} : {mode: 'icss'}),
|
|
374
|
+
...(!app.forceCSSModules && isEnvProduction ? {} : {getLocalIdent})
|
|
373
375
|
}
|
|
374
376
|
}),
|
|
375
377
|
sideEffects: true
|
|
@@ -381,7 +383,7 @@ module.exports = function (
|
|
|
381
383
|
use: getScssStyleLoaders({
|
|
382
384
|
importLoaders: 3,
|
|
383
385
|
modules: {
|
|
384
|
-
getLocalIdent
|
|
386
|
+
...(isEnvProduction ? {} : {getLocalIdent})
|
|
385
387
|
}
|
|
386
388
|
})
|
|
387
389
|
},
|
|
@@ -391,7 +393,8 @@ module.exports = function (
|
|
|
391
393
|
use: getScssStyleLoaders({
|
|
392
394
|
importLoaders: 3,
|
|
393
395
|
modules: {
|
|
394
|
-
...(app.forceCSSModules ? {
|
|
396
|
+
...(app.forceCSSModules ? {} : {mode: 'icss'}),
|
|
397
|
+
...(!app.forceCSSModules && isEnvProduction ? {} : {getLocalIdent})
|
|
395
398
|
}
|
|
396
399
|
})
|
|
397
400
|
},
|
|
@@ -521,7 +524,9 @@ module.exports = function (
|
|
|
521
524
|
ignoreOrder: noSplitCSS
|
|
522
525
|
}),
|
|
523
526
|
// Webpack5 removed node polyfills but we need this to run screenshot tests
|
|
524
|
-
new NodePolyfillPlugin(
|
|
527
|
+
new NodePolyfillPlugin({
|
|
528
|
+
additionalAliases: ['console', 'domain', 'process', 'stream']
|
|
529
|
+
}),
|
|
525
530
|
// Provide meaningful information when modules are not found
|
|
526
531
|
new ModuleNotFoundPlugin(app.context),
|
|
527
532
|
// Ensure correct casing in module filepathes
|