Skip to content

Commit

Permalink
Removed unnesessary JS/CSS uploads are correctly going to Cloudinary …
Browse files Browse the repository at this point in the history
…so no need to prevent it via admin
  • Loading branch information
oilee80 committed Oct 7, 2019
1 parent 658b11b commit 5928b48
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 20,308 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js

This file was deleted.

6 changes: 0 additions & 6 deletions _config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ SilverStripe\Core\Injector\Injector:
DBFile:
class: MadeHQ\Cloudinary\Storage\DBFile

SilverStripe\Admin\LeftAndMain:
extra_requirements_javascript:
- mademedia/silverstripe-cloudinary:client/dist/js/bundle.js
extra_requirements_css:
- mademedia/silverstripe-cloudinary:client/dist/styles/bundle.css

SilverStripe\ORM\DatabaseAdmin:
classname_value_remapping:
File: MadeHQ\Cloudinary\Model\File
Expand Down
1 change: 0 additions & 1 deletion client/dist/js/bundle.js

This file was deleted.

154 changes: 0 additions & 154 deletions client/dist/js/vendor.js

This file was deleted.

1 change: 0 additions & 1 deletion client/dist/styles/bundle.css

This file was deleted.

11 changes: 0 additions & 11 deletions client/src/js/app.js

This file was deleted.

15 changes: 0 additions & 15 deletions client/src/js/components/CloudinaryPreviewImageField.js

This file was deleted.

24 changes: 0 additions & 24 deletions client/src/styles/bundle.scss

This file was deleted.

9 changes: 3 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@
"require": {
"cloudinary/cloudinary_php": "dev-master",
"php": ">=7.0.0",
"silverstripe/assets": "^1.1",
"silverstripe/asset-admin": "^1.1"
"silverstripe/assets": "^1",
"silverstripe/asset-admin": "^1"
},
"autoload": {
"psr-4": {
"MadeHQ\\Cloudinary\\": "src/"
}
},
"extra": {
"expose": [
"client/dist"
],
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "4.4.x-dev"
}
},
"minimum-stability": "dev",
Expand Down
Loading

0 comments on commit 5928b48

Please sign in to comment.