Fix SAGE_DIST_PATH example path
Needs the trailing slash.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user