-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run build with olm #1765
Comments
The critical information that is missing here is that the error happens when running |
So the problem is that, when As for the slowness, yes it's probably uglify running on olm.js. Whilst this is of course redundant, I don't believe it's possible to turn off uglify on a single input file - it can only be done for entire webpack chunks (see webpack/webpack#1079). We could split the vector dist up into more chunks to work around this, but that has some downsides too. In short, we might just have to put up with it. |
Fixes an error when matrix-js-sdk is symlinked into node_modules, which meant that we would (try to) use the version of olm from js-sdk instead of vector-web (#1765).
fixed by #1766, hopefs |
Gets an error for me when olm is installed:
Also is very slow, probably because olm.js is being minified which it would be good to skip if possible.
The text was updated successfully, but these errors were encountered: