a guest Aug 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. With
  2. devServer: {
  3.         contentBase: path.join(__dirname, 'public'),
  4.         publicPath: '/dist/',
  5.         historyApiFallback: true
  6.     },
  7. webpack reports a deprecation warning then outputs the page url but it either doesn't open or reports about unescaped characters/connection refused error on the page in the browser. About the same happens with
  8. devServer: {
  9.          proxy: {
  10.             '*': path.join(__dirname, 'public')
  11.          },
  12.         publicPath: '/dist/',
  13.         historyApiFallback: true
  14.     },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand