Skip to content

Commit

Permalink
feat: add support for newer versions of dart sass
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjov committed Jun 6, 2022
1 parent ee17639 commit d304c37
Show file tree
Hide file tree
Showing 9 changed files with 206 additions and 291 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Michael Hladky
Copyright (c) 2016-present Michael Hladky

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 10 additions & 10 deletions chore/gulp/tasks/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

'use strict';

const gulp = require('gulp'),
helper = require('../helper'),
$ = require('gulp-load-plugins')({ lazy: false }),
//postcss = require('gulp-postcss'),
autoprefixer = require('gulp-autoprefixer');
const sass = require('gulp-sass')(require('node-sass'));

const config = require('../../chore.config.js'),
assetsFolder = config.dist + 'assets/',
scssFoldername = 'scss/';
const gulp = require('gulp');
const helper = require('../helper');
const $ = require('gulp-load-plugins')();
//postcss = require('gulp-postcss'),
const autoprefixer = require('gulp-autoprefixer');
const sass = require('gulp-sass')(require('sass'));

const config = require('../../chore.config.js');
const assetsFolder = config.dist + 'assets/';
const scssFoldername = 'scss/';

const defaultConfig = {
indexFile: config.buildIndex,
Expand Down
357 changes: 113 additions & 244 deletions docs/assets/css/star-rating.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/star-rating.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

'use strict';

var gulp = require('gulp');
const gulp = require('gulp');

var wrench = require('wrench');
var $ = require('gulp-load-plugins')();
const wrench = require('wrench');
const $ = require('gulp-load-plugins')();

/**
* This will load all js or coffee files in the gulp directory
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-star-rating",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",
"keywords": [
"Rating",
Expand Down Expand Up @@ -64,7 +64,7 @@
"merge-stream": "^2.0.0",
"node-sass": "^7.0.1",
"prettier": "^2.6.0",
"sass": "^1.49.9",
"sass": "^1.51.0",
"sass-loader": "^12.6.0",
"sc5-styleguide": "^2.2.0",
"style-loader": "^3.3.1",
Expand Down
Loading

0 comments on commit d304c37

Please sign in to comment.