Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit ff9c522

Browse files
bc022699bc022699
authored andcommitted
Use full Framework7 build instead of custom one
1 parent 5283666 commit ff9c522

2 files changed

Lines changed: 2 additions & 105 deletions

File tree

framework7-custom-build.js

Lines changed: 0 additions & 101 deletions
This file was deleted.

gulpfile.babel.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import compileFramework7Vue from './framework7-vue-build';
44
const gulp = require('gulp'),
55
path = require('path'),
66
clean = require('gulp-clean'),
7-
concat = require('gulp-concat'),
8-
getF7FileList = require('./framework7-custom-build'),
7+
concat = require('gulp-concat'),
98
tsc = require('gulp-typescript'),
109
merge = require('merge2'),
1110
replace = require('gulp-replace'),
@@ -18,8 +17,7 @@ gulp.task('clean', () => {
1817

1918
gulp.task('build-framework7-core', ['clean'], () => {
2019
return merge(
21-
gulp.src(getF7FileList())
22-
.pipe(concat('Framework7.js'))
20+
gulp.src('./node_modules/framework7/dist/js/framework7.js')
2321
.pipe(replace('window.Framework7 = ', 'window.Framework7 = module.exports.Framework7 = '))
2422
.pipe(replace('window.Dom7 = ', 'window.Dom7 = module.exports.Dom7 = '))
2523
.pipe(replace('window.Template7 = ', 'window.Template7 = module.exports.Template7 = '))

0 commit comments

Comments
 (0)