fix: use new import syntax for thread worker path

This commit is contained in:
tiddlygit-test 2021-05-30 21:29:52 +08:00
parent 37fd560bad
commit f96512927a
3 changed files with 13 additions and 3 deletions

View file

@ -32,8 +32,10 @@ module.exports = {
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json'],
},
externals: {
'@tiddlygit/tiddlywiki': 'commonjs @tiddlygit/tiddlywiki',
'@tiddlygit/tiddlywiki': '@tiddlygit/tiddlywiki',
},
externalsType: 'commonjs',
externalsPresets: { electronMain: true },
node: {
__filename: true,
__dirname: true,