Skip to content

npm do not export dist files #12

@kalwalt

Description

@kalwalt

trying to setup a minimal example with a npm package.json, when you install the packages with all fine, but when you try to import you get a message:

Failed to resolve import "arjsCore" from "main.js". Does the file exist?
D:/kalwalt-github/arjs-plugin-threejs/examples/minimal/main.js:11:8
9  |          webcamPlugin,
10 |          defaultProfilePlugin,
11 |  } from 'arjsCore';

if you look at the node_modules pkg it lacks of dist folder.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions