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/webpack.config.renderer.pro...

19 lines
442 B
TypeScript

import type { Configuration } from 'webpack';
import { getWebTailchatWebpackConfig } from './utils';
const webWebpackConfig = getWebTailchatWebpackConfig();
const configuration: Configuration = {
...webWebpackConfig,
resolveLoader: {
alias: {
'source-ref-loader': require.resolve(
'../../../packages/source-ref-loader/src/index.ts'
),
},
},
target: 'electron-renderer',
};
export default configuration;