Perhaps in some way related to this, I've got a couple of front-end pages on our website that pull in the following files, which seem to all be CP files. These two pages each utilize plugins I've written, each one a different plugin, so there must be something I'm doing in my plugins that calls this stuff in. Any hints?
selectize.css
craft.css
charts.css
axios.min.js
d3.js
element-resize-detector.js
jquery.js
jquery.mobile-events.min.js
velocity.js
garnish.js
jquery-ui.min.js
jquery.payment.js
picturefill.js
selectize.js
jquery.fileupload.js
xregexp-all.js
fabric.js
Craft.min.js
EDIT: Here is the relevant asset-bundle:
class LivestreamAsset extends AssetBundle
{
// Public Methods
// =========================================================================
/**
* Initializes the bundle.
*/
public function init()
{
// define the path that your publishable resources live
$this->sourcePath = "@kr37/livestream/assetbundles/livestream/dist";
// define the dependencies
$this->depends = [
CpAsset::class,
];
// define the relative path to CSS/JS files that should be registered with the page
// when this asset bundle is registered
$this->js = [
'js/Livestream.js',
];
$this->css = [
'css/Livestream.css',
];
parent::init();
}
}