mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-18 05:45:14 +00:00
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:
parent
34b791ff5e
commit
5a1d12419f
1 changed files with 5 additions and 7 deletions
|
@ -50,12 +50,10 @@ const config = {
|
||||||
plugins: [new webpack.ProgressPlugin()]
|
plugins: [new webpack.ProgressPlugin()]
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isDevServer) {
|
config.plugins.push(new HtmlWebpackPlugin({
|
||||||
config.plugins.push(new HtmlWebpackPlugin({
|
template: "./index.html",
|
||||||
template: "./index.html",
|
inject: "head",
|
||||||
inject: "head",
|
minify: false
|
||||||
minify: false
|
}));
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = config; // eslint-disable-line no-undef
|
module.exports = config; // eslint-disable-line no-undef
|
||||||
|
|
Loading…
Reference in a new issue