Open personalizedrefrigerator opened 1 month ago
Just setting target: 'web' is insufficient.
Would that fix at least certain plugins (without breaking new plugins)? I've set that up for a plugin and it did help getting rid of the error without any negative effect as far as I can see
Operating system
Linux
Joplin version
3.1.15
Desktop version info
Joplin 3.1.15 (prod, linux)
Client ID: c13c7d68206342d0be14de538812a561 Sync Version: 3 Profile Version: 47 Keychain Supported: Yes
Revision: e5771a3
Backup: 1.4.2 Extra Markdown viewer settings: 0.4.0
Current behaviour
To reproduce:
extraScripts
.extraScripts
.Expected behaviour
No error should be logged to the console.
Past attempts at fixing this
https://github.com/laurent22/joplin/commit/c197a83de8ad6081872e8f42484a6acbc62febd5:
exports
exports
is defined.Setting
target: 'web'
and changing libraryTarget tovar
orglobal
in webpack.config.js:target: 'web'
is insufficient.exports
variable and expect it to be modified.Logs