Skip to content

r171 : Fn is not a function with vite. #29996

Closed
@Makio64

Description

Description

import { Fn } from 'three/tsl' not working in r171

The requested module '/node_modules/.vite/deps/three_tsl.js?v=dde6d16d' does not provide an export named 'Fn' I saw similar problem last week when opening a bug in jsfiddle and using the dev branch.

Should we change our imports? @mrdoob

Reproduction steps

  1. try importing Fn

Code

X

Live example

https://jsfiddle.net/Makio64/m5zLofx2/1/

Screenshots

No response

Version

r171

Device

No response

Browser

No response

OS

No response

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions