Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: gulpfile.js

Issue 29509576: Issue 5453 - Make website-defaults adblockplus/cms compatible (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Aug. 8, 2017, 12:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« README.md ('K') | « demo/index.html ('k') | package.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gulpfile.js
===================================================================
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -13,30 +13,17 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
*/
const gulp = require("gulp");
const sass = require("gulp-sass");
-const connect = require("gulp-connect");
-
-gulp.task("connect", function()
-{
- connect.server({
- root: "./demo/"
- });
-});
gulp.task("scss", function ()
{
return gulp.src("./scss/main.scss")
.pipe(sass().on("error", sass.logError))
- .pipe(gulp.dest("./demo/css/"));
+ .pipe(gulp.dest("./static/css/"));
});
-gulp.task("watch", function ()
-{
- gulp.watch("scss/*.scss", ["scss"]);
-});
-
-gulp.task("default", ["scss", "connect", "watch"]);
+gulp.task("default", ["scss"]);
« README.md ('K') | « demo/index.html ('k') | package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld