@enact/cli 5.0.0-alpha.4 → 5.0.0
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/.travis.yml +3 -5
- package/CHANGELOG.md +40 -1
- package/README.md +5 -4
- package/commands/pack.js +7 -5
- package/commands/serve.js +50 -30
- package/config/dotenv.js +1 -1
- package/config/jest/jest.config.js +4 -5
- package/config/webpack.config.js +62 -23
- package/docs/building-apps.md +93 -0
- package/docs/index.md +1 -0
- package/docs/isomorphic-support.md +26 -0
- package/docs/measuring-performance.md +64 -0
- package/docs/starting-a-new-app.md +5 -4
- package/npm-shrinkwrap.json +5205 -4275
- package/package.json +52 -51
|
@@ -29,6 +29,7 @@ The @enact/cli tool will check the project's **package.json** looking for an opt
|
|
|
29
29
|
* `ri` _[object]_ - Resolution independence options to be forwarded to the [LESS plugin](https://github.com/enactjs/less-plugin-resolution-independence). By default, will use any preset for a specified theme or fallback to sandstone.
|
|
30
30
|
* `screenTypes` _[array|string]_ - Array of 1 or more screentype definitions to be used with prerender HTML initialization. Can alternatively reference a json filepath to read for screentype definitions. By default, will use any preset for a specified theme or fallback to sandstone.
|
|
31
31
|
* `nodeBuiltins` _[object]_ - Configuration settings for polyfilling NodeJS built-ins. See `node` [webpack option](https://webpack.js.org/configuration/node/).
|
|
32
|
+
* `resolveFallback` _[object]_ - Configuration settings for redirecting module requests when normal resolving fails. See `resolve.fallback` [webpack option](https://webpack.js.org/configuration/resolve/#resolvefallback).
|
|
32
33
|
* `externalStartup` _[boolean]_ - Flag whether to externalize the startup/update js that is normally inlined within prerendered app HTML output.
|
|
33
34
|
* `forceCSSModules` _[boolean]_ - Flag whether to force all LESS/CSS to be processed in a modular context (not just the `*.module.css` and `*.module.less` files).
|
|
34
35
|
* `deep` _[string|array]_ - 1 or more JavaScript conditions that, when met, indicate deeplinking and any prerender should be discarded.
|
|
@@ -41,10 +42,10 @@ For example:
|
|
|
41
42
|
...
|
|
42
43
|
"enact": {
|
|
43
44
|
"theme": "sandstone",
|
|
44
|
-
"
|
|
45
|
-
fs:
|
|
46
|
-
net:
|
|
47
|
-
tls:
|
|
45
|
+
"resolveFallback": {
|
|
46
|
+
fs: false,
|
|
47
|
+
net: false,
|
|
48
|
+
tls: false
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
...
|