You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the web package requires a local installation (running npm install inside the package) and uses several bundled dependencies. There are different reasons for this, which are only partwise solveable, but should be at least improveable:
The monaco editor overwrites the require function, thus it is not possible or at least quite difficult to browserify the whole web package.
It could be better to browserify the depending packages inside the web package (and store all results in a dist folder in the web package), this would move, e.g., unpublished packages to devDependencies thus avoiding errors in the CD pipeline because the local installation is failing.
Some packages provide more than just their functionality, e.g., the core also ships examples, which are loaded during runtime, if one is needed. This makes it necessary to know the path to these modules and currently is another reason for the local installation being necessary. Still this could be easily solved by detecting where the depending modules are (under node_modules since web was installed as single package, in neighbor folders since the whole monorepo was bootstrapped, ...)
The text was updated successfully, but these errors were encountered:
Currently the web package requires a local installation (running
npm install
inside the package) and uses several bundled dependencies. There are different reasons for this, which are only partwise solveable, but should be at least improveable:require
function, thus it is not possible or at least quite difficult to browserify the wholeweb
package.dist
folder in the web package), this would move, e.g., unpublished packages todevDependencies
thus avoiding errors in the CD pipeline because the local installation is failing.core
also ships examples, which are loaded during runtime, if one is needed. This makes it necessary to know the path to these modules and currently is another reason for the local installation being necessary. Still this could be easily solved by detecting where the depending modules are (undernode_modules
sinceweb
was installed as single package, in neighbor folders since the whole monorepo was bootstrapped, ...)The text was updated successfully, but these errors were encountered: