Fix SAGE_DIST_PATH example path

Needs the trailing slash.
This commit is contained in:
Nathan Knowler
2018-11-07 16:19:19 -07:00
committed by GitHub
parent a33bbe5091
commit e9bf0beaa2

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, * If your publicPath differs between environments, but you know it at compile time,
* then set SAGE_DIST_PATH as an environment variable before compiling. * then set SAGE_DIST_PATH as an environment variable before compiling.
* Example: * 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) { if (process.env.SAGE_DIST_PATH) {
module.exports.publicPath = process.env.SAGE_DIST_PATH; module.exports.publicPath = process.env.SAGE_DIST_PATH;