Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix webpack build
zadamf0217cae5eb4
diff --git a/webpack-desktop.config.js b/webpack-desktop.config.jsindex 50da85162c..0742af9282 100644--- a/webpack-desktop.config.js+++ b/webpack-desktop.config.js@@ -10,5 +10,6 @@ module.exports = {path: path.resolve(__dirname, 'src/public/app-dist'),filename: 'desktop.js'},- devtool: 'source-map'-};\ No newline at end of file+ devtool: 'source-map',+ target: 'electron-main'+};diff --git a/webpack-mobile.config.js b/webpack-mobile.config.jsindex 370afe252c..d96c99e285 100644--- a/webpack-mobile.config.js+++ b/webpack-mobile.config.js@@ -10,5 +10,6 @@ module.exports = {path: path.resolve(__dirname, 'src/public/app-dist'),filename: 'mobile.js'},- devtool: 'source-map'-};\ No newline at end of file+ devtool: 'source-map',+ target: 'electron-main'+};diff --git a/webpack-setup.config.js b/webpack-setup.config.jsindex 3b370bf578..01cb70d419 100644--- a/webpack-setup.config.js+++ b/webpack-setup.config.js@@ -10,5 +10,6 @@ module.exports = {path: path.resolve(__dirname, 'src/public/app-dist'),filename: 'setup.js'},- devtool: 'source-map'-};\ No newline at end of file+ devtool: 'source-map',+ target: 'electron-main'+};