Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Removal of the json-loader dependency #1004

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samylan
Copy link

@samylan samylan commented Dec 31, 2018

I propose the removal of the json-loader dependency. It is unmaintained, and the Webpack version used by osgjs includes natively a json loader.

In my use-case, it would helps a lot: I import OSG modules directly from source (as opposed to loading the whole distribution) to make use of the tree-shaking ability of Webpack. But the explicit use of the json-loader in "osgNameSpace.js" conflicts with the default Webpack 3/4 behavior. It forces the installation an unmaintained package and to make a special case in webpack.config.js for osgjs.

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

Successfully merging this pull request may close these issues.

1 participant