mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-15 15:10:31 -08:00
fix: use not minified tiddlywiki
This commit is contained in:
parent
85911204f3
commit
55546ea109
3 changed files with 4 additions and 6 deletions
|
|
@ -24,10 +24,10 @@
|
|||
"packagerConfig": {
|
||||
"icon": "build-resources/icon.icns",
|
||||
"asar": {
|
||||
"unpack": "{**/.webpack/main/*.worker.*,**/node_modules/@tiddlygit/tiddlywiki/**/*}"
|
||||
"unpack": "**/.webpack/main/*.worker.*"
|
||||
},
|
||||
"extraResource": [
|
||||
".webpack/main/node_modules",
|
||||
"node_modules/@tiddlygit/tiddlywiki",
|
||||
"localization",
|
||||
"template/wiki",
|
||||
"build-resources/menubar@2x.png",
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ module.exports = {
|
|||
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json'],
|
||||
},
|
||||
externals: [
|
||||
// TODO: simply external things will make require can't find things. May need some other way.
|
||||
// nodeExternals({
|
||||
// additionalModuleDirs: ['@tiddlygit/tiddlywiki'],
|
||||
// allowlist: [/(threads-plugin)/],
|
||||
|
|
|
|||
|
|
@ -14,10 +14,7 @@ exports.main = [
|
|||
new ForkTsCheckerWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
// to is relative to ./.webpack/main/
|
||||
patterns: [
|
||||
{ from: 'localization', to: 'localization' },
|
||||
{ from: 'node_modules/@tiddlygit/tiddlywiki', to: 'node_modules/@tiddlygit/tiddlywiki' },
|
||||
],
|
||||
patterns: [{ from: 'localization', to: 'localization' }],
|
||||
}),
|
||||
new CircularDependencyPlugin({
|
||||
// exclude detection of files based on a RegExp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue