frontend-maven-plugin
frontend-maven-plugin copied to clipboard
Add typescript goal
Summary Add a "tsc" goal for compiling typescript without any nodejs build tool (e.g. like gulp).
motivation The story behind is that we want to do Typescript building as a separate step. This matches the behavior of any IDE driven development in which plugins do compiling of Typescript. Using a pure frontend-maven-plugin-only approach (build on save) is very slow and conflicts to some IDE Typescript plugins. This tsc goal accelerates the build.
Additionally the goal makes Typescript "explicit" so IDE plugins (like M2E connectors for Eclipse) may detect the Typescript-nature of this project and enable Typescript plugins using the configuration found in the pom.xml.
Tests and Documentation I added an example project.
Stephan