Files
nrwl--nx/packages/react/plugins/nx-react-webpack-plugin/nx-react-webpack-plugin.ts
T
2026-07-13 12:38:36 +08:00

11 lines
291 B
TypeScript

import { Compiler } from 'webpack';
import { applyReactConfig } from './lib/apply-react-config';
export class NxReactWebpackPlugin {
constructor(private options: Record<string, any> = {}) {}
apply(compiler: Compiler): void {
applyReactConfig(this.options, compiler.options);
}
}