I have a web application written in react built with weback during the packaging.

If I build the package with the command "debuild -b -uc -us", the packaging works.
But if I use sbuild to build the package, I have this weird error [1]:

Module parse failed: Unexpected token (38:22)
You may need an appropriate loader to handle this file type.

The coordinates (38:22) points to the jsx code.

I have tried several fixes like adding more presets, polyfill, etc. nothing works. What is weirder is that I have the problem when using sbuild but not when using debuild.

Does anyone have an idea on how to solve this?

[1] - https://salsa.debian.org/snippets/340


--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to