Package ch.nerdin.esbuild
Class Bundler
java.lang.Object
ch.nerdin.esbuild.Bundler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pathbundle(BundleOptions bundleOptions) Use esbuild to bundle either webjar or mvnpm dependencies into a bundle.protected static voidesBuild(EsBuildConfig esBuildConfig) protected static Pathextract(List<Path> dependencies, Bundler.BundleType type)
-
Field Details
-
ESBUILD_VERSION
- See Also:
-
-
Constructor Details
-
Bundler
public Bundler()
-
-
Method Details
-
bundle
Use esbuild to bundle either webjar or mvnpm dependencies into a bundle.- Parameters:
bundleOptions-- Returns:
- the folder that has the result of the transformation
- Throws:
IOException- when something could not be written
-
extract
- Throws:
IOException
-
esBuild
- Throws:
IOException
-