GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Consider porting .mjs files to .js with "type": "module" · Issue #1850 · nodeSolidServer/node-solid-server

Consider porting .mjs files to .js with "type": "module" #1850

New issue
Copy link
New issue
Copy link
Open
#1862
Open
Consider porting .mjs files to .js with "type": "module"#1850
#1862
Copy link

Description

@melvincarvalho
melvincarvalho
opened on Mar 19, 2026
Issue body actions

The v6 migration converted all files from CommonJS to ESM using the .mjs extension. The .mjs extension was a transitional mechanism — the intended long-term approach is "type": "module" in package.json, which makes plain .js files ES modules by default.

This is now the ecosystem convention (Node.js docs, major frameworks, etc.). Keeping .mjs signals an incomplete migration.

The change is mechanical — rename all .mjs → .js, add "type": "module" to package.json, update any import paths — but worth doing for consistency with modern Node.js conventions.

Activity

  1. melvincarvalho commented on May 19, 2026

    @melvincarvalho
    melvincarvalho
    on May 19, 2026
    ContributorAuthor
    More actions

    Thanks for the PR @SarthakDudhe. Given the size, we'll want CI green here before merge. Normally runs automatically, but for some reason it hasn't here. Will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.