UNPKG

@kkt/raw-modules

Version:

Makes it easy to use the webpack raw-loader.

12 lines (11 loc) 404 B
import { Configuration, RuleSetCondition } from 'webpack'; import { LoaderConfOptions } from 'kkt'; export type ReactLibraryOptions = LoaderConfOptions & { test?: RuleSetCondition; esModule?: boolean; }; /** * Makes it easy to use the webpack raw-loader */ declare const rawModules: (conf: Configuration, env: string, options?: ReactLibraryOptions) => Configuration; export default rawModules;