-
Notifications
You must be signed in to change notification settings - Fork 26
Failed to generate single outFile #1
Copy link
Copy link
Closed
Milestone
Description
The option outFile doesn't seem to create the expected single JS-file.
Although if this option is specified, all other JS-files are not created.
Following you can find an example based on the "complicated"-Test:
build.sbt:
import com.arpnetworking.sbt.typescript.Import.TypescriptKeys._
lazy val root = (project in file(".")).enablePlugins(SbtWeb).settings(
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node,
outFile := "myfile.js",
outDir := "path"
)
libraryDependencies += "org.webjars" % "bootstrap" % "3.0.2"
test:
> assets
$ absent target/web/typescript/main/javascripts/animal.js
$ absent target/web/typescript/main/javascripts/mammal.js
$ absent target/web/typescript/main/javascripts/human.js
$ exists target/web/typescript/path/myfile.js
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels