From 740b3d854bbb95285705d59b0063bd87ae88fdc4 Mon Sep 17 00:00:00 2001 From: Jason Robitaille Date: Mon, 5 Dec 2016 15:01:57 -0800 Subject: [PATCH] Updated Enact build options for current isomorphic property support. --- README.md | 4 ++-- template/README.md | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f7d53972..a86cf287 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ These tasks will execute all valid tests (files that end in `-specs.js`) that ar The enact-dev tool will check the project's `package.json` looking for an optional `enact` object for a few customization options: * `template` _[string]_ - Filepath to an alternate HTML template to use with the [Webpack html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin). -* `isomorphic` _[boolean|string]_ - If `true`, it indicates the default entrypoint is isomorphic-compatible (and can be built via the `--isomorphic` enact-dev flag). If the value is a string, then it will use that value as a filepath to a custom isomorphic-compatible entrypoint. +* `isomorphic` _[string]_ - Filepath to a custom isomorphic-compatible entrypoint (and can be built via the `--isomorphic` enact-dev flag). * `title` _[string]_ - Title text that should be put within the HTML's `` tags. Note: if this is a webOS-project, the title by default will be auto-detected from the appinfo.json content. * `ri` _[object]_ - Resolution independence options to be forwarded to the [LESS plugin](https://github.com/enyojs/less-plugin-resolution-independence). * `proxy` _[string]_ - Proxy target during project `serve` to be used within the [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware). @@ -67,7 +67,7 @@ For example: { ... "enact": { - "isomorphic": true, + "isomorphic": "./src/iso.js", "ri": { "baseSize":24 } diff --git a/template/README.md b/template/README.md index 9ebe6976..65f8ded9 100644 --- a/template/README.md +++ b/template/README.md @@ -68,7 +68,7 @@ These tasks will execute all valid tests (files that end in `-specs.js`) that ar The enact-dev tool will check the project's `package.json` looking for an optional `enact` object for a few customization options: * `template` _[string]_ - Filepath to an alternate HTML template to use with the [Webpack html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin). -* `isomorphic` _[boolean|string]_ - If `true`, it indicates the default entrypoint is isomorphic-compatible (and can be built via the `--isomorphic` enact-dev flag). If the value is a string, then it will use that value as a filepath to a custom isomorphic-compatible entrypoint. +* `isomorphic` _[string]_ - Filepath to a custom isomorphic-compatible entrypoint (and can be built via the `--isomorphic` enact-dev flag). * `title` _[string]_ - Title text that should be put within the HTML's `` tags. Note: if this is a webOS-project, the title by default will be auto-detected from the appinfo.json content. * `ri` _[object]_ - Resolution independence options to be forwarded to the [LESS plugin](https://github.com/enyojs/less-plugin-resolution-independence). * `proxy` _[string]_ - Proxy target during project `serve` to be used within the [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware). @@ -76,14 +76,14 @@ The enact-dev tool will check the project's `package.json` looking for an option For example: ```js { - ... - "enact": { - "isomorphic": true, - "ri": { - "baseSize":24 - } - } - ... + ... + "enact": { + "isomorphic": "./src/iso.js", + "ri": { + "baseSize":24 + } + } + ... } ```