Skip to content

Issue: Add "type": "module" in package.json to enable ES6 module support #72

@agaesh

Description

@agaesh

Title: Add "type": "module" in package.json to enable ES6 module support

Description

To align with the ongoing ES6 migration, we need to enable ES module support in the Node.js environment.
This can be achieved by adding the "type": "module" field to the package.json file.

Reasoning

  • Allows usage of ES6 import and export syntax instead of CommonJS (require, module.exports).
  • Ensures consistency across all refactored ES6 files.
  • Prevents runtime errors related to unsupported module syntax.

Tasks

  • Update package.json to include "type": "module".

Branch

fix/add-es6-module-support

Notes

This issue will be merged into the fix/es6-migration branch.
Integration and compatibility testing will be handled later in the es6-migration branch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions