gstwebrtc-api: always include index file in dist for convenience

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1670>
This commit is contained in:
Loïc Le Page 2024-07-16 18:37:10 +02:00 committed by GStreamer Marge Bot
parent 34b791ff5e
commit 5a1d12419f

View file

@ -50,12 +50,10 @@ const config = {
plugins: [new webpack.ProgressPlugin()]
};
if (isDevServer) {
config.plugins.push(new HtmlWebpackPlugin({
template: "./index.html",
inject: "head",
minify: false
}));
}
config.plugins.push(new HtmlWebpackPlugin({
template: "./index.html",
inject: "head",
minify: false
}));
module.exports = config; // eslint-disable-line no-undef