Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Demo of Ionic v1 with AngularJS 1.5

This project demonstrates an updated [Ionic v1](https://ionicframework.com/docs/v1/) project that uses the
latest [XLTS for AngularJS 1.5.x](https://xlts.dev/angularjs) release (`1.5.13`) rather than the `1.5.3` version
latest [XLTS for AngularJS 1.5.x](https://xlts.dev/angularjs) release (`1.5.17`) rather than the `1.5.3` version
that ships with the Ionic v1 SDK. It also makes use of
[XLTS for AngularJS Material 1.1.x](https://material.angularjs.xlts.dev/1.1.28/) (`1.1.28`).
[XLTS for AngularJS Material 1.1.x](https://material.angularjs.xlts.dev/1.1.30/) (`1.1.30`).

## Package Management

Expand Down Expand Up @@ -49,4 +49,4 @@ now.
## Questions?

Check out our [GitHub Discussions](https://github.com/xlts-dev/angularjs-ionic-v1/discussions) section to
ask questions or find answers.
ask questions or find answers.
32 changes: 16 additions & 16 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));
var cleanCss = require('gulp-clean-css');
var rename = require('gulp-rename');
const { src, dest, series, watch } = require('gulp');
const gulpSass = require('gulp-sass')(require('sass'));
const cleanCss = require('gulp-clean-css');
const rename = require('gulp-rename');

var paths = {
const paths = {
sass: ['./scss/**/*.scss']
};

gulp.task('default', ['sass']);

gulp.task('sass', function(done) {
gulp.src('./scss/ionic.app.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./www/css/'))
const sass = (done) => {
return src('./scss/ionic.app.scss')
.pipe(gulpSass().on('error', gulpSass.logError))
.pipe(dest('./www/css/'))
.pipe(cleanCss({
keepSpecialComments: 0
}))
.pipe(rename({ extname: '.min.css' }))
.pipe(gulp.dest('./www/css/'))
.pipe(dest('./www/css/'))
.on('end', done);
});
};

const watching = () => watch(paths.sass, series(sass));

gulp.task('watch', ['sass'], function() {
gulp.watch(paths.sass, ['sass']);
});
exports.default = sass;
exports.sass = sass;
exports.watch = watching;
Loading