mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-08 11:40:32 -08:00
fix: copy git to the resource
This commit is contained in:
parent
ffb3118064
commit
fe3e29dba9
1 changed files with 3 additions and 2 deletions
|
|
@ -21,9 +21,10 @@ exports.main = _.compact([
|
|||
}),
|
||||
process.env.NODE_ENV === 'production' &&
|
||||
new EventHooksPlugin({
|
||||
afterEmit: (compilation, done) => {
|
||||
afterEmit: async (compilation, done) => {
|
||||
console.log('Copying tiddlywiki dependency to dist');
|
||||
void fs.copy('node_modules/@tiddlygit/tiddlywiki', './.webpack/node_modules/@tiddlygit/tiddlywiki', done);
|
||||
await fs.copy('node_modules/@tiddlygit/tiddlywiki', './.webpack/node_modules/@tiddlygit/tiddlywiki');
|
||||
await fs.copy('node_modules/dugite/git', './.webpack/node_modules/dugite/git');
|
||||
},
|
||||
}),
|
||||
new CircularDependencyPlugin({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue