Launching the Grails 3 application and using the node plugin. My custom javascript is under grails-app/assets/javascripts, but when I run gradle build, it sets a folder node_modulesin my project root directory. This folder contains all my JS libraries, and I cannot access them from my version grails-app/assets/javascripts.
Is there any way to install node_modulesunder grails-app? Do I need to specify a directory in mine build.gradle?
Here are my node and grunt plugins in mine build.gradle.
classpath "com.moowork.gradle:gradle-node-plugin:0.12"
classpath "com.moowork.gradle:gradle-grunt-plugin:0.12"
apply plugin:"com.moowork.node"
apply plugin:"com.moowork.grunt"
source
share