Hello. I tried to use haul with fresh install of RN 0.49.1 but I got this error
Hey @jurajkrivda, thanks for creating this issue.
RN 0.49 has introduced a breaking change in file naming - 5d4c6e5
Will look into it soon
A simple workaround for 0.49:
module.exports = (_, {output, module}) => ({
entry: './index.js',
output: {
...output,
filename: 'index.bundle',
},
});
There is also another error:
Expected Content-type to be 'application/javascript' or 'text/javascript', but got 'application/octet-stream; charset=UTF-8'.
This can be fixed by adding headers: {'Content-Type': 'application/javascript'} to webpackDevMiddleware config in src/server/index.js.
Thanks, fixed in #246
Most helpful comment
A simple workaround for 0.49: