I downloaded prescript-halogen-6.1.3 and I tried to run the Ace example. When I open the index.html file I get a ReferenceError in the browser:
ReferenceError: Can't find variable: require
Asked
Active
Viewed 45 times
0

Frans de Boer
- 3
- 2
-
Looks like maybe you forgot to bundle? – Fyodor Soikin Apr 13 '22 at 23:58
-
The example uses bundling, but only for the PureScript code, not for any npm dependencies. I got it working by using rollup for the npm dependency bundling. I had to manually install ace-builds. – Frans de Boer Apr 19 '22 at 13:21