ECMAScriptDemos icon indicating copy to clipboard operation
ECMAScriptDemos copied to clipboard

Why can't we import straight from node_modules, what is the purpose of scripts.json, build.js

Open au-re opened this issue 4 years ago • 1 comments

I'm trying to recreate the npm_module example from scratch but I get the following error:

E 0:00:00.253   js_module_loader: Failed to resolve module: 'lodash'.

I haven't added the build.js file yet, what does it do and why is it necessary?

Great job with this project! Looking forward to help out where I can :)

au-re avatar Nov 21 '20 16:11 au-re

I created a testing project which uses esbuild directly, without the need of build.js. You can check it out :)

nmerget avatar Sep 21 '23 11:09 nmerget