Skip to content

Commit 06a607f

Browse files
committed
removed sass
1 parent 994ce1c commit 06a607f

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

gulpfile.js

+2-16
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var gulp = require("gulp");
44
var del = require("del");
5-
var sass = require("gulp-sass");
65
var webpack = require("webpack");
76
var WebpackDevServer = require("webpack-dev-server");
87
var assign = require("object-assign");
@@ -30,22 +29,9 @@ gulp.task("copy", function() {
3029
.pipe(gulp.dest("./build"));
3130
});
3231

33-
gulp.task("sass", function() {
34-
return gulp
35-
.src(["./docs/**/*.{scss,sass}"])
36-
.pipe(
37-
sass({
38-
includePaths: ["bower_components", "node_modules"],
39-
errLogToConsole: true
40-
})
41-
)
42-
.pipe(gulp.dest("./build"));
43-
});
44-
4532
gulp.task(
4633
"watch",
47-
gulp.series(["copy", "sass"], function(done) {
48-
gulp.watch(["./docs/**/*.{scss,sass}"], gulp.parallel(["sass"]));
34+
gulp.series(["copy"], function(done) {
4935
gulp.watch(["./docs/index.html"], gulp.parallel(["copy"]));
5036
gulp.watch(["./docs/docs.css"], gulp.parallel(["copy"]));
5137
gulp.watch(["./docs/slick.css"], gulp.parallel(["copy"]));
@@ -56,7 +42,7 @@ gulp.task(
5642

5743
gulp.task(
5844
"server",
59-
gulp.series(["watch", "copy", "sass"], function() {
45+
gulp.series(["watch", "copy"], function() {
6046
console.log("Start");
6147
var myConfig = require("./webpack.config");
6248
if (process.env.SINGLE_DEMO) {

package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"start": "gulp server",
1212
"demo": "SINGLE_DEMO=true gulp server",
13-
"build-dev": "gulp clean && gulp sass && gulp copy && webpack",
13+
"build-dev": "gulp clean && gulp copy && webpack",
1414
"lib": "babel ./src --out-dir ./lib",
1515
"build": "npm run lib && gulp dist",
1616
"prepublish": "npm run build",
@@ -59,15 +59,13 @@
5959
"express": "^4.14.0",
6060
"foundation-apps": "^1.2.0",
6161
"gulp": "^4.0.0",
62-
"gulp-sass": "^4.0.0",
6362
"husky": "^0.14.3",
6463
"jasmine-core": "^2.5.2",
6564
"jest": "^24.8.0",
6665
"jquery": "^3.2.1",
6766
"js-beautify": "^1.7.5",
6867
"json-loader": "^0.5.4",
6968
"lint-staged": "^7.0.3",
70-
"node-sass": "^4.5.2",
7169
"opn": "^5.4.0",
7270
"postcss-loader": "^1.3.3",
7371
"prettier": "^1.14.3",
@@ -76,7 +74,6 @@
7674
"react-addons-test-utils": "^15.6.2",
7775
"react-dom": "^16.0.0",
7876
"react-test-renderer": "^16.0.0",
79-
"sass-loader": "^6.0.3",
8077
"sinon": "^2.1.0",
8178
"slick-carousel": "^1.8.1",
8279
"style-loader": "^0.16.1",

0 commit comments

Comments
 (0)