While underscore and moment are dependencies of other Solidus features, the others are a legacy carryover from the original Storyteller IDE. In that environment we did not expose the JavaScript runtime to developers, and the packages were included by default as a convenience for common preprocessing tasks. But here developers have access to the entirety of npm and we're not properly maintaining these dependencies. They are adding needless heft.
In the case of underscore and Moment we should also not encourage developers to use those we've included with Solidus. They should install their own in order to control their version. This should work as-is with the location of the preprocessor files and the node module resolution rules.
The following libraries are currently bundled with Solidus for use in preprocessors:
While underscore and moment are dependencies of other Solidus features, the others are a legacy carryover from the original Storyteller IDE. In that environment we did not expose the JavaScript runtime to developers, and the packages were included by default as a convenience for common preprocessing tasks. But here developers have access to the entirety of npm and we're not properly maintaining these dependencies. They are adding needless heft.
In the case of underscore and Moment we should also not encourage developers to use those we've included with Solidus. They should install their own in order to control their version. This should work as-is with the location of the preprocessor files and the node module resolution rules.