Closed chiefmyron closed 1 year ago
There's also something strange going on where debugging only works when the 'main' prop in package.json is set to 'out'. However, when 'main' is set to 'out', webpack produces a build that cannot reference the xml2js library correctly.
Need to standardise on webpack as the build process, and figure out how to support debugging.
Default pre-built php-parser library is packaged for the 'web' target, which means it is attempting to target 'window' when being registered.
Need to update build process so that php-parser library correctly targets 'node' instead, to avoid manual changes to compiled library.