Skip to content

Import in auto.esm.js is wrong #10303

@mnlipp

Description

@mnlipp

Expected behavior

Importing auto.esm.js should work.

Current behavior

Does not work (tested in the browser).

Reproducible sample

(not needed)

Optional extra steps/info to reproduce

No response

Possible solution

The line in auto.esm.js must read

import {Chart, registerables} from '../dist/chart.esm.js';

(Extension .js must be there). After the change, is works.

Context

No response

chart.js version

v3.7.1

Browser name and version

No response

Link to your project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions