1234567891011121314151617181920 |
- import type { CompilerSystem, Logger } from '../../internal/index';
- /**
- * Creates a "logger", based off of NodeJS APIs, that will be used by the compiler and dev-server.
- * The NodeJS "process" object must be provided as a property in the first argument's object.
- * @param c an object containing a `Process` for Stencil to use
- */
- export declare function createNodeLogger(c: {
- process: any;
- }): Logger;
- /**
- * Creates the "system", based off of NodeJS APIs, used by the compiler. This includes any and
- * all file system reads and writes using NodeJS. The compiler itself is unaware of Node's
- * `fs` module. Other system APIs include any use of `crypto` to hash content. The NodeJS
- * "process" object must be provided as a property in the first argument's object.
- * @param c an object containing a `Process` for Stencil to use
- */
- export declare function createNodeSys(c: {
- process: any;
- }): CompilerSystem;
- export { CompilerSystem, Logger };
|