You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/desktop/.erb/configs/utils.ts

12 lines
331 B
TypeScript

import webWebpackConfig from '../../../web/build/webpack.config';
import type { Configuration } from 'webpack';
export function getWebTailchatWebpackConfig(): Configuration {
return {
...webWebpackConfig,
plugins: webWebpackConfig.plugins?.filter(
(p) => !['GenerateSW'].includes(p.constructor.name)
),
};
}