Fix Node.js test runner with CommonJS exports
This commit is contained in:
@@ -736,3 +736,8 @@ function parseTechnology(token) {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// Export for Node.js (CommonJS)
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = { parseDragonCode };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user