Comment

Comment by msoad

When node supports `import` how you'll import node modules?

I hope it works like this

    import {readFile} from 'fs';
    import {clone} from 'lodash';
rather than explicitly providing "correct" URL to the modules.

EDIT: edited the syntax.

parent msoad 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton