Open niso1985 opened 5 years ago
I temporarily use webpack to bundle the JavaScript files. At this time, the following warning will occur.
17:27:10.993 [Trireme Script Thread] DEBUG io.apigee.trireme.kernel.fs.AdvancedFilesystem - open(/Users/ktsujino/projects/myapp/my_js_app/dist/bundle.js, 0, 438)
17:27:10.993 [Trireme Script Thread] DEBUG io.apigee.trireme.kernel.fs.AdvancedFilesystem - Opening /Users/ktsujino/projects/myapp/my_js_app/dist/bundle.js with [READ]
17:27:10.993 [Trireme Script Thread] DEBUG io.apigee.trireme.kernel.fs.AdvancedFilesystem - open(/Users/ktsujino/projects/myapp/my_js_app/dist/bundle.js) = 4
17:27:10.996 [Trireme Script Thread] DEBUG io.apigee.trireme.core.internal.ScriptUtils - Executing script from /Users/ktsujino/projects/myapp/my_js_app/dist/bundle.js in interpreted mode because it was too large
Is there a performance impact compared to loading individual files?
@niso1985 I'm interested in running webjars-packaged node modules with trireme, you seem to have some success in that. Would you mind sharing the sample with me?
I call to my_js_app/index.js using NodeScript following the code:
my_js_app/index.js require lodash and commander etc.
And these node_modules is installed using "npm install".
The following error occurs when this program is executed.
Is node_modules's path resolution different between Node and Trireme? And can I resolve file dependencies without changing the files in node_modules?