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
{{ message }}
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
In dev mode, using image files with require leads to 404 errors.
From what I can see, the webpack-dev-server serves them from port 3010 (by default) but the client app tries to fetch them from port 3000 (the startupjs server).
It might be because webpack does not seem to emit files to the build folder assumed in
In dev mode, using image files with
require
leads to 404 errors.From what I can see, the webpack-dev-server serves them from port 3010 (by default) but the client app tries to fetch them from port 3000 (the startupjs server).
It might be because webpack does not seem to emit files to the build folder assumed in
startupjs/packages/server/server/express.js
Line 96 in 4e39c29
It can be fixed at https://github.com/dmapper/startupjs/blob/master/packages/bundler/webpack.web.config.js#L157 by replacing that line with
The text was updated successfully, but these errors were encountered: