Merge pull request #2125 from roots/fix-sage-dist-path-example

Fix SAGE_DIST_PATH example path
This commit is contained in:
Ben Word
2018-11-15 16:12:26 -06:00
committed by GitHub

View File

@@ -44,7 +44,7 @@ if (process.env.NODE_ENV === undefined) {
* If your publicPath differs between environments, but you know it at compile time,
* then set SAGE_DIST_PATH as an environment variable before compiling.
* Example:
* SAGE_DIST_PATH=/wp-content/themes/sage/dist yarn build:production
* SAGE_DIST_PATH=/wp-content/themes/sage/dist/ yarn build:production
*/
if (process.env.SAGE_DIST_PATH) {
module.exports.publicPath = process.env.SAGE_DIST_PATH;