Skip to content

Regression: Incorrect import /node_modules/three/addons/misc/Timer.js #611

@hybridherbst

Description

@hybridherbst

Description of the bug

I think this is a regression introduced by 2aab311.
The timer import incorrectly uses "addons" which requires import maps support or correct package.json exports parsing (not available for every tool/bundler/combination, see mrdoob/three.js#27381)

Example when using Vite 4.x:
image

I think it should use three/examples/jsm instead of three/addons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that worked before is now broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions