Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] ES modules#1787

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
goto-bus-stop wants to merge4 commits intomaster
base:master
Choose a base branch
Loading
fromesm
Open

[WIP] ES modules#1787

goto-bus-stop wants to merge4 commits intomasterfromesm

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stopgoto-bus-stop commentedDec 26, 2017
edited
Loading

This is currently on hold until Node decides on a modules implementation. See thehttps://github.com/nodejs/modules repo for proogress.


Adds a Node-style--experimental-modules flag that tells module-deps (browserify/module-deps#137) to treat.mjs files as ES modules.browserify/browser-pack#81 adds a source code transform to browser-pack that wires up ES modules correctly (live bindings etc).

gurkerl83, taye, earthtone, paulerickson, dazld, and nikku reacted with thumbs up emoji
@dy
Copy link

dy commentedMar 5, 2020
edited
Loading

node@13.1 has unflagged esm. Just wonder what's the right way to organize modules support.

@ljharb
Copy link
Member

  • 13.2

It is indeed time for browserify to recognize .cjs files, .mjs files, and the “type” and “exports” fields in package.json.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@goto-bus-stop@dy@ljharb

[8]ページ先頭

©2009-2025 Movatter.jp