diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 34bda5590a3..041c1c61318 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -18,6 +18,25 @@ var WatchMissingNodeModulesPlugin = require('../scripts/utils/WatchMissingNodeMo var paths = require('./paths'); var env = require('./env'); +// We use "homepage" field to infer "public path" at which the app is served. +// You may also use the environment variable CDN_URL to set the homepage to an absolute url +// this is useful if you are storing your bundle/assets on a different domain +// Webpack needs to know it to put the right