-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Description
I am encountering a module export issue when using the @cortex-js/compute-engine package. When importing the package, the module appears empty (the default export is undefined), which prevents me from using the library's functionality properly.
Steps to Reproduce
import ComputeEngine from '@cortex-js/compute-engine';
console.log(ComputeEngine); // Outputs: Module { default: undefined, __esModule: true, ... }or
import * as ComputeEngine from '@cortex-js/compute-engine';
console.log(ComputeEngine); // Also does not export correctlyActual Result
- The imported module does not export content correctly; the
defaultexport isundefined. - This results in runtime errors or inability to call library functions.
Expected Result
- The module exports the content properly, allowing access to ComputeEngine’s methods and properties.
- The package provides the correct export interface.
Environment
- Compute Engine version: 0.30.2 (latest stable version on npm)
- Usage environment: React + Webpack 5 + Module Federation (possibly relevant)
- Node version, browser version, and other environment details (please fill in accordingly)
This is the main issue I am facing. Please assist in confirming and guiding how to resolve it. Thank you!
Metadata
Metadata
Assignees
Labels
No labels