You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current form we need to set OUTPUT_PUBLIC_PATH to './' in "release mode" to prevent the loader from using localhost:3000/myfont.eot provided by webpack-dev-server
I think you should use the DEV variable to switch between DEV_SERVER_HOST or OUTPUT_PUBLIC_PATH. And you should also initialize OUTPUT_PUBLIC_PATH by default to './' like PACKAGE_JSON_PATH
The text was updated successfully, but these errors were encountered:
durandx
changed the title
webpack-focus should use DEV_MODE to initialize the OUTPUT_PUBLIC_PATH variable.
[webpack-focus] Default config should use DEV_MODE to initialize the OUTPUT_PUBLIC_PATH variable.
May 25, 2016
The following line is not a good idea : https://github.com/KleeGroup/webpack-focus/blob/master/webpack.config.js#L37
In the current form we need to set OUTPUT_PUBLIC_PATH to './' in "release mode" to prevent the loader from using localhost:3000/myfont.eot provided by webpack-dev-server
I think you should use the DEV variable to switch between DEV_SERVER_HOST or OUTPUT_PUBLIC_PATH. And you should also initialize OUTPUT_PUBLIC_PATH by default to './' like PACKAGE_JSON_PATH
The text was updated successfully, but these errors were encountered: