Skip to content

Commit

Permalink
package.json: only export examples/fonts and examples/jsm
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jan 27, 2022
1 parent 34bbcc4 commit 3d0c8df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"import": "./build/three.module.js",
"require": "./build/three.cjs"
},
"./examples/*": "./examples/*",
"./examples/fonts/*": "./examples/fonts/*",
"./examples/jsm/*": "./examples/jsm/*",
"./src/*": "./src/*"
},
"repository": {
Expand Down

2 comments on commit 3d0c8df

@LeviPesin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why examples/fonts are exported?

@LeviPesin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they should be, maybe we can add an alias for them also? Like three/fonts?

Please sign in to comment.