webpack: add filename option to miniCssExtractPlugin

commented out for now, because it currently does not make sense yet.
This will be working, when I change webpack output to the "build" folder
instead of the current (messy) way, where it outputs into src/public/app-dist
This commit is contained in:
Panagiotis Papadopoulos 2025-02-21 22:41:47 +01:00
parent dde24785b8
commit 0b4f5e998e

View File

@ -23,7 +23,10 @@ const config: Configuration = {
filename: "[name].js" filename: "[name].js"
}, },
plugins: [ 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: { module: {
rules: [ rules: [