Skip to content

Include "type": "module" in package.json file #89

@jgomez720

Description

@jgomez720

When running npm install @kittycad/lib
the package.json file comes with

{
  "dependencies": {
    "@kittycad/lib": "^0.0.19"
  }
} 

but I have to manually add "type": "module"
to the package.json any time I download it. Can we have that in the file already when they run the npm command?

I haven't been able to use our API commands using require or import when the "type": "module" is missing, so it seems like it's required?

Metadata

Metadata

Assignees

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