Skip to content

About

Converts html templates into javascript variables during build. this would be helpful while using any javascript based template frameworks.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

add-to-javascript

Converts html templates into javascript variables during build. this would be helpful while using any javascript based template frameworks.

Usage:

<plugin>
   <groupId>com.satmetrix</groupId>
   <artifactId>add-to-javascript</artifactId>
   <version>0.2</version>
      <executions>
          <execution>
             <phase>package</phase>
             <goals>
                <goal>run</goal>
             </goals>
          </execution>
      </executions>
      <configuration>
         <fileType>html</fileType>
         <sourceFolder>
	    <param>${basedir}/target/template/folder</param>
	 </sourceFolder>
	 <outputDir>${basedir}/target/js/folder</outputDir>
      </configuration>
</plugin>

Dependencies:

This plugin uses yuicompressor for minifying compiled output

About

Converts html templates into javascript variables during build. this would be helpful while using any javascript based template frameworks.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages