Skip to content

three@v0.137.0 deep imports don't work anymore #261

@marcofugaro

Description

@marcofugaro

The import { ... } from 'three' import is not resolved anymore since last release, while in last release was working correctly.

For context, this is the import I am talking about: https://github.com/mrdoob/three.js/blob/438ac79c2705af9f1d3fb7fd34345564d23f1644/examples/jsm/controls/OrbitControls.js#L1-L9

It should be automatically resolved to three (like it was in last release).

Looking at the URLs, the only difference I see is raw in place of import/unoptimized, what does it mean?

Current release

https://cdn.skypack.dev/three@0.137.0/examples/jsm/controls/OrbitControls.js

Last release

https://cdn.skypack.dev/three@0.136.0/examples/jsm/controls/OrbitControls.js


For additional context, these fields of package.json have changed in this release, may be related.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions