by qbasic_forever · 5y ago · 0 comments
As for migrating to Deno: you probably will not be able to do this because most NPM packages will not run in Deno out of the box. Your build pipeline almost certainly relies on libraries like gulp/sass/globby, and those projects will need to be ported first (or made compatible by their authors).
Deno provides built in bundler. It is low level but there are third party packages built on top of it.
All the three packages mentioned have equivalent in the deno ecosystem.
Try searching on https://deno.land/std and https://deno.land/x
Manual for built-in stuff in deno: https://deno.land/manual
Now that Node supports ESM, I hope this year will start seeing more migrations, but it will be at a glacial place because the ESM<->CJS compatibility remains extremely brittle (among all bundlers, and for Node+Browser usage). If you are writing a greenfield small library you can make it work. But it will be a long time - if ever - before we see things like @babel work.