public class TranspilationStep extends Object
| Constructor and Description |
|---|
TranspilationStep(FrontendToolsManager frontendToolsManager,
int networkConcurrency)
Prepares the step.
|
| Modifier and Type | Method and Description |
|---|---|
void |
transpileFiles(File es6SourceDirectory,
File outputDirectory,
boolean skipEs5)
Transpiles the files from source directory into the output directory.
|
public TranspilationStep(FrontendToolsManager frontendToolsManager, int networkConcurrency)
frontendToolsManager - the manager to be used to transpile files, not nullnetworkConcurrency - maximum number of concurrent network requestspublic void transpileFiles(File es6SourceDirectory, File outputDirectory, boolean skipEs5)
es6SourceDirectory - the directory with original ES6 filesoutputDirectory - the directory that will have processed files inskipEs5 - whether to skip the transpilation step or notIllegalStateException - if no transpilation results foundUncheckedIOException - if IOException occurs during file operationsCopyright © 2000–2023 Vaadin Ltd. All rights reserved.