NPM Build Utilities @ 0.1.3
    Preparing search index...

    Class Stage_CompilerInternal

    To be used by AbstractStage and those that inherit from it.

    Includes a variety of utilities for compiling files (like scss and typescript).

    0.1.0-alpha

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    A completed args object.

    config: Config.Class

    Current project config.

    console: Stage_Console

    Instance used to log messages and debugging info.

    Instance used to work with paths and files.

    params: Params

    Current CLI params.

    Accessors

    • get ARGS_DEFAULT(): {
          sass: {
              charset: true;
              sourceMap: true;
              sourceMapIncludeSources: true;
              style: "expanded";
          };
          ts: {};
      }
      Internal

      Default values for the args property.

      Returns {
          sass: {
              charset: true;
              sourceMap: true;
              sourceMapIncludeSources: true;
              style: "expanded";
          };
          ts: {};
      }

    • get tsConfig(): {
          compilerOptions: {
              baseUrl: string;
              exactOptionalPropertyTypes: false;
              outDir: string;
          };
          exclude: ["**/node_modules/**/*"];
          extends: "@maddimathon/build-utilities/tsconfig";
      }
      Internal

      Default TS config file.

      Returns {
          compilerOptions: {
              baseUrl: string;
              exactOptionalPropertyTypes: false;
              outDir: string;
          };
          exclude: ["**/node_modules/**/*"];
          extends: "@maddimathon/build-utilities/tsconfig";
      }

    Methods

    • Internal

      Compile scss using the sass npm package.

      Parameters

      • input: string

        Scss input path.

      • output: string

        Scss output path.

      • level: number

        Depth level for this message.

      • OptionalsassOpts: Options<"sync">

      Returns Promise<void>