Remove version key from css:

datetimepicker:
  version: 1.x
  js:
    js/moment.js: {}
    js/moment-with-locales.js: {}
    https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js: { type: external, minified: true }
    js/bootstrap-datetimepicker.js: {}
    js/drupal.bootstrap_datetime.js: {}
  css:
    <del>version: 1.x</del>
    theme:
      https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css: { type: external, minified: true }
      css/bootstrap-datetimepicker.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/jquery.once

Comments

hewok created an issue. See original summary.

  • vakulrai committed 5090e7c on 8.x-1.x
    Issue #2951485: AssertionError: CSS files should be specified as key/...
vakulrai’s picture

Status: Active » Fixed

@hewok Thank's for your review, this issue has been fixed and pushed.

prashant.c’s picture

Status: Fixed » Closed (fixed)