Skip to content

Build your personal knowledge base with Trilium Notes

webpack: add filename option to miniCssExtractPlugin

Panagiotis Papadopoulos0b4f5e998ee2
diff --git a/webpack.config.ts b/webpack.config.ts
index a6c01424c9..b37451f5e5 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -23,7 +23,10 @@ const config: Configuration = {
filename: "[name].js"
},
plugins: [
- new miniCssExtractPlugin()
+ new miniCssExtractPlugin({
+ // TriliumNextTODO: enable this, once webpack build outputs into the "build" folder, instead of "src/public/app-dist" folder => @pano9000
+ //filename: "../stylesheets/[name].css"
+ })
],
module: {
rules: [