Skip to content

Conversation

@slhck
Copy link
Contributor

@slhck slhck commented Nov 17, 2025

Replace all usages of the global dashjs.FactoryMaker with proper ES6 module imports across 6 core files. This harmonizes the import pattern with the rest of the codebase and improves module compatibility when dash.js is used as an ES6 module in modern build tools.

This prevents issues when:

  • Importing modules directly without the main entry point
  • Using tree-shaking in modern bundlers
  • Integrating dash.js in codebases with strict ES6 module requirements

Replace all usages of the global `dashjs.FactoryMaker` with proper ES6 module imports across 6 core files. This harmonizes the import pattern with the rest of the codebase and improves module compatibility when dash.js is used as an ES6 module in modern build tools.

This prevents issues when:

- Importing modules directly without the main entry point
- Using tree-shaking in modern bundlers
- Integrating dash.js in codebases with strict ES6 module requirements
@dsilhavy dsilhavy self-requested a review November 17, 2025 10:37
@dsilhavy dsilhavy added this to the 5.1.0 milestone Nov 17, 2025
@dsilhavy dsilhavy merged commit d3de08f into Dash-Industry-Forum:development Nov 17, 2025
2 checks passed
@dsilhavy
Copy link
Collaborator

Thank you @slhck , added to v5.1.0 release

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants