OwlCarousel2 / OwlCarousel2

DEPRECATED jQuery Responsive Carousel.

Home Page:http://owlcarousel2.github.io/OwlCarousel2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Owl Carousel with Parcel, build fails on theme semicolon

ubuntupunk opened this issue · comments

A summary

I am using parcel for sass in my project. If I call owl via main.scss

@import "./owl/owl.carousel";
@import "./owl/theme.default";

parcel build fails:

@parcel/transformer-css: Unexpected token Semicolon

13458 |   zoom: 1;
  > 13459 |   *display: inline;
  >       |                   ^
    13460 | }
    13461 | .owl-theme .owl-dots .owl-dot span {

The project builds without the theme. Any ideas?

I have the same issue with Tachyons CSS:

    578 | .cf:after { clear: both; }
  > 579 | .cf { *zoom: 1; }
  >     |               ^
    580 | .cl { clear: left; }
    581 | .cr { clear: right; }

The problem is the asterisk.

@ubuntupunk You could add this to your package.json:

  "@parcel/transformer-css": {
    "errorRecovery": true
  },