diff --git a/src/config/webpack.dev.js b/src/config/webpack.dev.js
index <HASH>..<HASH> 100644
--- a/src/config/webpack.dev.js
+++ b/src/config/webpack.dev.js
@@ -90,6 +90,7 @@ export default (app, options) => {
         'process.env': {
           BROWSER: JSON.stringify(true),
           HOST: JSON.stringify(process.env.HOST),
+          APP_LOCATION: JSON.stringify(process.cwd()),
         },
       }),
       new webpack.DllReferencePlugin({
Define APP_LOCATION in dev