Browse Source

fix #2259 ,add disableRedirectHoist in config

陈帅 7 years ago
parent
commit
a04e8a62ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config/config.js

+ 1 - 0
config/config.js

@@ -70,6 +70,7 @@ export default {
   lessLoaderOptions: {
     javascriptEnabled: true,
   },
+  disableRedirectHoist: true,
   cssLoaderOptions: {
     modules: true,
     getLocalIdent: (context, localIdentName, localName) => {