mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
25 lines
762 B
JavaScript
25 lines
762 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
// @ts-expect-error ts-migrate(2451) FIXME: Cannot redeclare block-scoped variable 'webpackAli... Remove this comment to see the full error message
|
|
const { webpackAlias } = require('./webpack.alias');
|
|
const plugins = require('./webpack.plugins');
|
|
|
|
module.exports = {
|
|
/**
|
|
* This is the main entry point for your application, it's the first file
|
|
* that runs in the main process.
|
|
*/
|
|
entry: './src/main.ts',
|
|
// Put your normal webpack config below here
|
|
module: {
|
|
rules: require('./webpack.rules'),
|
|
},
|
|
plugins: plugins.main,
|
|
resolve: {
|
|
alias: webpackAlias,
|
|
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json'],
|
|
},
|
|
node: {
|
|
__filename: true,
|
|
__dirname: true,
|
|
},
|
|
};
|