Does the asset-pipeline work correctly in Grails 6...
# questions
p
Does the asset-pipeline work correctly in Grails 6? I declared an application.js file in the grails-app/assets/javascripts folder but for some reason my app is only loading the application.js file from a plugin our app uses. Documentation says the local copy should override the plugin's js file.
j
Yes, but I can't say that I have tested local vs plugin. Are you using 4.5.1? And referencing it like the following, since it gets rid of the javascripts folder?
Copy code
<asset:javascript src="application.js"/>
d
It does indeed !
Make sure , the plugins build gradle has the assets { packagePlugin=true } set
If not it may create an app manifest and take precedence over the app itself depending on class load order