wro4j配置

http://code.google.com/p/wro4j/

 

#wro.properties file

#List of preProcessors
preProcessors=htmlCompressor.html, ngTemplate.html
#,lessCss,cssImport,semicolonAppender
#List of postProcessors
postProcessors=ngTemplates,cssMin,uglifyJs

#wro.xml file


/common/service.js

 

#pom.xml file


ro.isdc.wro4j
wro4j-maven-plugin
${wro4j.version}


run-wro4j
compile

run



jshint
compile

jshint


curly,eqeqeq,immed,latedef,newcap,noarg,sub,boss,eqnull,strict
true




application
${project.build.directory}/${project.build.finalName}
${project.build.directory}/${project.build.finalName}/css
${project.build.directory}/${project.build.finalName}/app
${basedir}/src/main/webapp/
ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory

 

转载于:https://www.cnblogs.com/smallg/archive/2013/01/29/2881831.html

你可能感兴趣的:(wro4j配置)