diff --git a/Magento_BundleConfig/Block/Html/Head/Config.php b/Magento_BundleConfig/Block/Html/Head/Config.php
index 3fa9236..714fae6 100644
--- a/Magento_BundleConfig/Block/Html/Head/Config.php
+++ b/Magento_BundleConfig/Block/Html/Head/Config.php
@@ -87,10 +87,9 @@ protected function _prepareLayout()
$sharedBundleAbsPath = $staticDir . "/" . $sharedBundleRelPath;
if (file_exists($sharedBundleAbsPath)) {
- $assetCollection->insert(
+ $assetCollection->add(
$sharedBundleRelPath,
- $shared,
- RequireJsConfig::REQUIRE_JS_FILE_NAME
+ $shared
);
}