Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import doesn't work with the current version #104

Open
maxp-hover opened this issue Dec 3, 2023 · 0 comments
Open

Import doesn't work with the current version #104

maxp-hover opened this issue Dec 3, 2023 · 0 comments

Comments

@maxp-hover
Copy link

If I yarn add shader-park-core and try and use the same import code here https://github.com/shader-park/shader-park-examples/blob/main/es6-starter-template/index.js

import {sculptToMinimalRenderer} from 'shader-park-core';

it doesn't work because this latest version (0.2.6) of shader-park-core seems to have no exports.

When I change to an older version (the same one as used in that example project via https://github.com/shader-park/shader-park-examples/blob/main/es6-starter-template/package.json) (version 0.1.41) it works fine.

So, something seems to have broken with the ES6 exports since the time those examples were written.

Please fix, this seems like an awesome project and I want to use the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant