Skip to content

Instantly share code, notes, and snippets.

@jurberg
Last active December 12, 2015 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jurberg/4699505 to your computer and use it in GitHub Desktop.
Save jurberg/4699505 to your computer and use it in GitHub Desktop.
Use different Require.JS main when running in a war
<script src="js/lib/require-2.1.2.js"
data-main="js/bootstrap${grailsApplication.isWarDeployed() ? '-build' : ''}">
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment