-
Notifications
You must be signed in to change notification settings - Fork 92
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
Asset Pipeline 40x larger file size - 4.3.0 requires and additional 55.81 MB compared to 3.4.7 #328
Comments
The problem is in 1d9ac7f Probably Also relevant discussing oracle/graal#287 We can consider using rhino which is ~1mb dependency https://github.com/mozilla/rhino or ~2mb https://github.com/openjdk/nashorn |
neither rhino nor nashorn are viable on more modern jdks and babel.js will not run within them. graal is necessary. graal-sdk is there for older versions of java runtime (i.e. java8) |
@davydotcom if the assets are compiled at build time, why are all these dependencies needed during runtime on a production jar?
These 2 dependencies add
|
Here is my workaround which should not be necessary: configurations {
// ...
runtimeOnly.exclude group: "org.graalvm.js"
runtimeOnly.exclude group: "org.graalvm.sdk"
} Which takes down |
@davydotcom I agree with @codeconsole. Full graal SDK should be excluded from runtime, it's unnecessary bloat for grails app runtime |
@codeconsole to make grails runnable in dev mode I had to include
|
@rlconst i think i fixed this. the gradle plugin was not up to date in the gradle plugin publish. |
Are all these dependencies necessary in the production jar? If not, what is the best way to exclude them?
Asset Pipeline 4.3.0
Asset Pipeline 3.4.7
The text was updated successfully, but these errors were encountered: