Update webpack.plugins.js

This commit is contained in:
linonetwo 2024-07-16 15:50:39 +08:00
parent 4f64e1f0de
commit daca397ea5

View file

@ -43,7 +43,7 @@ exports.main = _.compact([
// when using npm, we can use this. But with pnpm, this won't work ↓
// include: path.join(__dirname, 'node_modules', '.pnpm', '@tiddlygit', 'tiddlywiki'),
}),
platform === 'win32'
process.platform === 'win32'
? undefined
: new ExternalsPlugin({
type: 'commonjs',