Skip to content

Import doesn't work with the current version #104

@maxp-hover

Description

@maxp-hover

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.

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