From 8de8f1afb74f28f10d829d84f72846efa6346946 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sat, 20 Mar 2021 22:12:18 +0100 Subject: [PATCH] webpack: push assets into chill entry --- src/Bundle/ChillThirdPartyBundle/chill.webpack.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Bundle/ChillThirdPartyBundle/chill.webpack.config.js b/src/Bundle/ChillThirdPartyBundle/chill.webpack.config.js index e6eabc789..98569ccae 100644 --- a/src/Bundle/ChillThirdPartyBundle/chill.webpack.config.js +++ b/src/Bundle/ChillThirdPartyBundle/chill.webpack.config.js @@ -1,6 +1,3 @@ -module.exports = function(encore) -{ - let thirdparty_styles = __dirname + '/Resources/public/index.js'; - encore.addEntry('thirdparty_styles', thirdparty_styles); - +module.exports = function(encore, entries) { + entries.push(__dirname + '/Resources/public/index.js'); };