chiefmyron / phpunit-test-workbench

An extension to integrate PHPUnit with the native Test Explorer functionality within VS Code. Zero configuration required for common environment setups.
https://marketplace.visualstudio.com/items?itemName=chiefmyron.phpunit-test-workbench
MIT License
5 stars 2 forks source link

Fix build process so that php-parser dependency is packaged for node #8

Closed chiefmyron closed 1 year ago

chiefmyron commented 2 years ago

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.

chiefmyron commented 2 years 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.