mirror of https://github.com/msgbyte/tailchat
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.
19 lines
442 B
TypeScript
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;
|