Node’s component quality algorithm helps a breeding ground variable named NODE_Roadway who has a listing of internationally directories to use when resolving transfer routes. You might citation this list of directories in order to esbuild playing with an ecosystem changeable towards the CLI and ultizing an array with the JS and you can Go APIs:
If you utilize the fresh new CLI and want to ticket multiple listings using NODE_Street , you are going to need to separate all of them with : into the Unix and you can ; on Windows. This is basically the exact same format you to definitely Node by itself spends.
#Away expansionThat one allows you to customize the file expansion of documents one to esbuild creates to help you some thing aside from .js otherwise .css . Particularly, this new .mjs and you may .cjs document extensions possess special meaning during the node (it imply a document inside [...]