Skip to content

Commit

Permalink
WIP - add webpack and remove gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiusz Adamski committed Oct 15, 2021
1 parent e29eb03 commit 036356c
Show file tree
Hide file tree
Showing 13 changed files with 13,140 additions and 56 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
package-lock.json

.venv
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.16.0
16 changes: 8 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ var sass_config = {
]
}

gulp.task('bower', function() {
gulp.task('bower', function() {
return bower()
.pipe(gulp.dest(config.bowerDir))
.pipe(gulp.dest(config.bowerDir))
});

gulp.task('scss', function() {
Expand All @@ -41,19 +41,19 @@ gulp.task('scss', function() {
.pipe(gulp.dest(config.staticRoot + 'css/'))
});

gulp.task('css', function() {
gulp.task('css', function() {
var vendorFiles = [
'bower_components/normalize.css/normalize.css',
'bower_components/foundation-datepicker/css/foundation-datepicker.css',
'bower_components/angular-loading-bar/build/loading-bar.min.css',
];
return gulp.src(vendorFiles)
.pipe(gulp.dest(config.vendorRoot + 'css/'));
return gulp.src(vendorFiles)
.pipe(gulp.dest(config.vendorRoot + 'css/'));
});

gulp.task('fonts', function() {
return gulp.src('bower_components/fontawesome/fonts/*.*')
.pipe(gulp.dest(config.vendorRoot + 'fonts/'));
gulp.task('fonts', function() {
return gulp.src('bower_components/fontawesome/fonts/*.*')
.pipe(gulp.dest(config.vendorRoot + 'fonts/'));
});

gulp.task('js', function(){
Expand Down
Loading

0 comments on commit 036356c

Please sign in to comment.