uglifyjs - uglify-maven-plugin adding exclude file list -


i trying implement uglifyjs-maven-plugin. while using configuration mentioned here, getting error sourcedirectory undefined or invalid.

using configuration

      <configuration>          <sourcedirectory>target/snapshot/javascript</sourcedirectory>          <outputdirectory>target/snapshot/javascript</outputdirectory>       </configuration> 

its working fine. how add exclude file list in above configuration. have js file of 900kb, when including js file inside source directory, getting exception during maven build " exception in thread "main" java.lang.stackoverflowerror". can me out of this.

it looks while documentation (and current implementation) supports file exclusions, version available in repository (1.0) older , supports sourcedirectory.

i have not found newer version published anywhere, guess best thing can compile latest version of plugin manually , see if supports documentation says.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -