-
-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
Description
Bug
The reason for below change is i can't update the hashed css file name is other's website every time it gets builded**
Currently filename: '[name].[contenthash:5].css'
for isProd
I cannot override the above file name in preact.config.js as per below code
const cssExtractPlugin = helpers.getPluginsByName(config, "MiniCssExtractPlugin")
cssExtractPlugin.forEach(
({ plugin }) =>
(plugin.options.filename = "widget.css")
);
The above change is ignored and bundle.31cd2.css
is generated as-usual
My expected behaviour is to generate widget.css
Note: If it's the usual behaviour please guide me in updating file remotely.