@enact/cli 4.1.5 → 4.1.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.
- package/CHANGELOG.md +19 -1
- package/README.md +1 -1
- package/config/webpack.config.js +10 -1
- package/npm-shrinkwrap.json +14094 -3618
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 4.1.8 (August 30, 2022)
|
|
2
|
+
|
|
3
|
+
### pack
|
|
4
|
+
|
|
5
|
+
* `PrerenderPlugin`: Updated locale preset with the latest language list.
|
|
6
|
+
|
|
7
|
+
## 4.1.7 (February 18, 2022)
|
|
8
|
+
|
|
9
|
+
### pack
|
|
10
|
+
|
|
11
|
+
* Added `additionalModulePaths` to enact options to specify paths to check when resolving modules.
|
|
12
|
+
|
|
13
|
+
## 4.1.6 (December 2, 2021)
|
|
14
|
+
|
|
15
|
+
### pack
|
|
16
|
+
|
|
17
|
+
* Fixed V8 snapshot failure.
|
|
18
|
+
|
|
1
19
|
## 4.1.5 (November 29, 2021)
|
|
2
20
|
|
|
3
21
|
* No significant changes.
|
|
@@ -234,7 +252,7 @@ All dependencies updated to latest release.
|
|
|
234
252
|
### pack
|
|
235
253
|
|
|
236
254
|
* Fixed theme feature detection on local theme files (eg. when a local ThemeDecorator is present)
|
|
237
|
-
* Fixed bug with `--framework` option with regards to erroneously including unneeded or invalid iLib dependencies and test files.
|
|
255
|
+
* Fixed bug with `--framework` option with regards to erroneously including unneeded or invalid iLib dependencies and test files.
|
|
238
256
|
|
|
239
257
|
### clean
|
|
240
258
|
|
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@ npm remove -g eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-babel
|
|
|
119
119
|
|
|
120
120
|
Unless otherwise specified, all content, including all source code files and documentation files in this repository are:
|
|
121
121
|
|
|
122
|
-
Copyright (c) 2016-
|
|
122
|
+
Copyright (c) 2016-2022 LG Electronics
|
|
123
123
|
|
|
124
124
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
|
125
125
|
|
package/config/webpack.config.js
CHANGED
|
@@ -162,6 +162,11 @@ module.exports = function (env) {
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
+
const getAdditionalModulePaths = paths => {
|
|
166
|
+
if (!paths) return [];
|
|
167
|
+
return Array.isArray(paths) ? paths : [paths];
|
|
168
|
+
};
|
|
169
|
+
|
|
165
170
|
return {
|
|
166
171
|
mode: isEnvProduction ? 'production' : 'development',
|
|
167
172
|
// Don't attempt to continue if there are any errors.
|
|
@@ -219,7 +224,11 @@ module.exports = function (env) {
|
|
|
219
224
|
ext => useTypeScript || !ext.includes('ts')
|
|
220
225
|
),
|
|
221
226
|
// Allows us to specify paths to check for module resolving.
|
|
222
|
-
modules: [
|
|
227
|
+
modules: [
|
|
228
|
+
path.resolve('./node_modules'),
|
|
229
|
+
'node_modules',
|
|
230
|
+
...getAdditionalModulePaths(app.additionalModulePaths)
|
|
231
|
+
],
|
|
223
232
|
// Don't resolve symlinks to their underlying paths
|
|
224
233
|
symlinks: false,
|
|
225
234
|
// Backward compatibility for apps using new ilib references with old Enact
|