Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a new group for the Node built-in packages import starting with "node:" #109

Closed
NexZhu opened this issue Sep 1, 2022 · 1 comment · Fixed by #111
Closed

Make a new group for the Node built-in packages import starting with "node:" #109

NexZhu opened this issue Sep 1, 2022 · 1 comment · Fixed by #111

Comments

@NexZhu
Copy link

NexZhu commented Sep 1, 2022

Node now support inporting builtin modules with node:path, node:fs, etc., can we support options to sort imports from node:* before npm modules? Example:

import crypto from 'node:crypto' // Builtin import from "node:*"
import fs from 'node:fs'
import path from 'node:path'


import cookie from 'cookie' // 3rd-party package
import express from 'express'
@lydell
Copy link
Owner

lydell commented Sep 3, 2022

Released in v8.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants