mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: use resolve fallback solve fs problem, not patching
This commit is contained in:
parent
ba4fbbd5c9
commit
bd3cdffcfc
4 changed files with 716 additions and 162 deletions
|
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
resolve: {
|
||||
alias: webpackAlias,
|
||||
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css'],
|
||||
fallback: { crypto: false },
|
||||
fallback: { crypto: false, fs: false },
|
||||
},
|
||||
output: {
|
||||
chunkFilename: 'main_window/[name].chunk.js',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue