Double inclusion of bootstrap.min.js

Hello, I have redefined BootstrapAsset




'assetManager' => [

	'bundles' => [

		'yii\bootstrap\BootstrapAsset' => [

			'sourcePath' => '@common/web/packages/bootstrap-3.3.4/dist',

			'css' => [

				'css/bootstrap.min.css',

				'css/bootstrap-theme.min.css',

			],

			'js' => [

				'js/bootstrap.min.js',

			]

		],

	],

],



After i have added this code in the html page i find double inclusion of file bootstrap.min.js

I have found the cause of this problem in Bottstrap components that include the asset BootstrapPluginAsset.

I have added in the [size="2"]assetManager this section and i have resolved the problem[/size]

[size="2"]


[/size]

'yii\bootstrap\BootstrapPluginAsset' => [

	'sourcePath' => null,

	'css' => [

	],

	'js' => [

	]

],

[size=2]

[/size]

[size="2"]This is the normal way for resolve this issue or not… is a bug of Yii2??[/size]