cli: require node-types.json in generated index.js files
This commit is contained in:
parent
77636e8fe6
commit
09b902f6a0
2 changed files with 9 additions and 3 deletions
|
|
@ -7,3 +7,7 @@ try {
|
|||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
module.exports.nodeTypeInfo = require("./src/node-types.json");
|
||||
} catch (_) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue