You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
768 B
20 lines
768 B
import { Rule, CustomGenerator } from '../types';
|
|
export declare enum LangType {
|
|
ES6 = "ES6",
|
|
Typescript = "Typescript"
|
|
}
|
|
/**
|
|
*
|
|
* Returns an module.rule object for the babel loader
|
|
* @param {string[]} includeFolders An array of folders to include
|
|
* @returns {Rule} A configuration containing the babel-loader with env preset
|
|
*/
|
|
export declare function getBabelLoader(includeFolders: string[]): Rule;
|
|
/**
|
|
*
|
|
* Returns an module.rule object for the typescript loader
|
|
* @param {string[]} includeFolders An array of folders to include
|
|
* @returns {Rule} A configuration containing the ts-loader
|
|
*/
|
|
export declare function getTypescriptLoader(includeFolders: string[]): Rule;
|
|
export default function language(self: CustomGenerator, langType: string): void;
|
|
|