Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client used to do Babel transformations.
type Options ¶
type Options struct { Config string // Custom path to config file Minified bool NoComments bool Compact *bool Verbose bool NoBabelrc bool SourceMap string }
Options from https://babeljs.io/docs/en/options
func DecodeOptions ¶
DecodeOptions decodes options to and generates command flags
Click to show internal directories.
Click to hide internal directories.