Skip to content

Port ESM files to js extension#1862

Open
SarthakDudhe wants to merge 1 commit intonodeSolidServer:mainfrom
SarthakDudhe:issue/1850-js-esm
Open

Port ESM files to js extension#1862
SarthakDudhe wants to merge 1 commit intonodeSolidServer:mainfrom
SarthakDudhe:issue/1850-js-esm

Conversation

@SarthakDudhe
Copy link
Copy Markdown

Summary
Add "type": "module" and switch ESM entry points from .mjs to .js
Rename ESM source, test, config, template, and example files
Update imports, package scripts, exports, and HTML script references
Preserve conflicting CommonJS examples/templates with .cjs

Closes #1850

Testing
npm run lint
npm run validate
npm run test-unit

npm test was also attempted, but integration tests fail locally due missing localhost host entries and Windows-specific fixture assertions.

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 this pull request may close these issues.

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

1 participant