@jenssimon/webpack-config-sfcc
Version:
A shareable Webpack configuration for SFCC projects
12 lines (11 loc) • 511 B
TypeScript
import type { RuleSetRule } from 'webpack';
import type { ConfigurationFnc } from '../../../types.js';
/**
* Rules to transpile JavaScript and TypeScript files using swc (https://swc.rs/).
*
* You can change setting by providing a `.swcrc` file in the root of your project
* (see https://swc.rs/docs/configuring-swc).
* This also uses the browserslist configuration (see https://github.com/browserslist/browserslist#config-file).
*/
declare const swc: ConfigurationFnc<RuleSetRule[]>;
export default swc;