frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

Add typescript goal

Open stephanpelikan opened this issue 8 years ago • 0 comments
trafficstars

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

stephanpelikan avatar Jun 28 '17 11:06 stephanpelikan