for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* CP Cache QuickMenu plugin for Craft CMS 3.x
*
* Fewer clicks to get clearin'
* @link https://vaersaagod.no
* @copyright Copyright (c) 2018 Mats Mikkel Rummelhoff
*/
namespace mmikkel\cacheflag\assetbundles;
use craft\web\AssetBundle;
use craft\web\assets\cp\CpAsset;
class CpBundle extends AssetBundle
{
public function init()
// define the path that your publishable resources live
$this->sourcePath = '@mmikkel/cacheflag/resources';
// 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 = [
'cacheflag.js',
$this->css = [
'cacheflag.css',
parent::init();
}