InternalInternalCurrent project config.
Current CLI params.
Instance used to log messages and debugging info.
Instance used to work with paths and files.
Readonly InternalargsA completed args object.
Protected Internal_Protected Readonly InternalconfigCurrent project config.
Protected Readonly InternalconsoleInstance used to log messages and debugging info.
Protected Readonly InternalfsInstance used to work with paths and files.
Protected Readonly InternalparamsCurrent CLI params.
StaticpostInternalDefault configuration for working with PostCSS.
InternalDefault values for the args property.
ReadonlypostCSS: PostCSSThis is actually the value of the Stage_Compiler.postCssConfig static accessor, but not as const for ease and smoother integration.
Readonlysass: {Readonlyts: {}InternalDefault TS config file.
StaticgetInternalGets paths to tsconfig files according to the project configuration.
If none is found, a console prompt asks to write a default file.
Current stage being run.
Depth level for output to the console.
Whether to prompt (via console) to write a new tsconfig file if none are found.
InternalGets the value of the given tsconfig file.
Path to TS config json used to compile the project.
Depth level for this message.
Whether to throw an error if tsconfig is not found.
StageError If the tsconfig file doesn’t exist and errorIfNotFound is truthy.
InternalGets the value of the given tsconfig file.
Path to TS config json.
Depth level for this message.
Whether to throw an error if tsconfig is not found.
StageError If the tsconfig file doesn’t exist and errorIfNotFound is truthy.
InternalProcess css with the PostCSS npm package.
Css paths to process (from), and optionally where to output them (to).
Depth level for this message.
InternalFilters the paths in stack traces from the sass compiler API.
InternalCompile multiple scss files at once.
Depth level for this message.
OptionalsassOpts: SassOverrides for the configured sass options in Stage.Compiler.args.
InternalCompile typescript using the typescript npm package.
Path to TS config json used to compile the project.
Depth level for this message.
OptionalerrorIfNotFound: booleanWhether to throw error if the tsconfig file is not found.
0.2.0-alpha — Now has errorIfNotFound param for use with new Stage_Compiler.getTsConfig method.
ProtectedbenchmarkProtectedbenchmarkProtectedsassProtectedsassInternalReturns the logger argument for sass API opts.
Fires Stage_Compiler._sassLoggerWarningDuringPackaging event if a warning is encountered during packaging.
ProtectedscssInternalCompiles scss via API. This skips compiling options and validating values.
OptionalcompileFn: (input: string, level: number, opts: Sass) => Promise<CompileResult>ProtectedscssInternalCompiles scs via CLI. This skips compiling options and validating values.
Protectedscss
To be used by AbstractStage and those that inherit from it.
Includes a variety of utilities for compiling files (like scss and typescript).
Since
0.1.0-alpha