Skip to content

Build your personal knowledge base with Trilium Notes

fix(desktop): build failing due to missing CSS

Elian Dorancc9cb6f73a2f
diff --git a/apps/desktop/webpack.config.cjs b/apps/desktop/webpack.config.cjs
index 5ee7194dbb..edd32780a2 100644
--- a/apps/desktop/webpack.config.cjs
+++ b/apps/desktop/webpack.config.cjs
@@ -8,6 +8,14 @@ module.exports = {
output: {
path: outputDir,
},
+ module: {
+ rules: [
+ {
+ test: /\.css$/i,
+ type: "asset/source"
+ }
+ ]
+ },
target: [ "node" ],
plugins: [
new NxAppWebpackPlugin({
diff --git a/apps/edit-docs/webpack.config.cjs b/apps/edit-docs/webpack.config.cjs
index 98b20852b6..1ae774de74 100644
--- a/apps/edit-docs/webpack.config.cjs
+++ b/apps/edit-docs/webpack.config.cjs
@@ -8,6 +8,14 @@ module.exports = {
output: {
path: join(__dirname, 'dist'),
},
+ module: {
+ rules: [
+ {
+ test: /\.css$/i,
+ type: "asset/source"
+ }
+ ]
+ },
plugins: [
new NxAppWebpackPlugin({
target: 'node',