mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: try package node_modules tiddlywiki with unpacked worker
This commit is contained in:
parent
f645f41c8d
commit
e2e0e678e6
3 changed files with 12 additions and 8 deletions
|
|
@ -35,13 +35,13 @@ module.exports = {
|
|||
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json'],
|
||||
},
|
||||
externals: [
|
||||
nodeExternals({
|
||||
additionalModuleDirs: ['@tiddlygit/tiddlywiki'],
|
||||
allowlist: [/threads-plugin/],
|
||||
}),
|
||||
// nodeExternals({
|
||||
// additionalModuleDirs: ['@tiddlygit/tiddlywiki'],
|
||||
// allowlist: [/(threads-plugin)/],
|
||||
// }),
|
||||
],
|
||||
externalsType: 'commonjs',
|
||||
externalsPresets: { electronMain: true },
|
||||
// externalsType: 'commonjs',
|
||||
// externalsPresets: { electronMain: true },
|
||||
node: {
|
||||
__filename: true,
|
||||
__dirname: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue