min js source map.
Moved generic css. removed fonts.
This commit is contained in:
parent
5ed031cb6a
commit
54c475e44e
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,3 +3,6 @@
|
||||
web.config
|
||||
/Js/Typed
|
||||
/node_modules
|
||||
/Js/XduPlayer.js
|
||||
/Js/XduPlayer.min.js.map
|
||||
/Fonts
|
||||
|
1
Css/generic.min.css
vendored
Normal file
1
Css/generic.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
html{font-size:16px;font-family:arial;background-color:#393939;color:rgba(255,255,255,.7)}html body{border-color:rgba(255,255,255,.2)}html body a{color:#0096cf}html body a:not([href]){text-decoration:underline;cursor:pointer}html body .hover-span{color:#0096cf}.fade-in{opacity:0;transition:opacity .5s}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3
Js/XduPlayer.min.js
vendored
3
Js/XduPlayer.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
|
||||
<link rel="stylesheet" type="text/css" href="../Css/generic.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="Css/generic.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="Css/main.css">
|
||||
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.5.1/pixi.min.js"></script> -->
|
||||
<script src="Js/Pixi.min.js"></script>
|
||||
|
@ -2,6 +2,7 @@ const gulp = require('gulp');
|
||||
const concat = require('gulp-concat');
|
||||
const rename = require('gulp-rename');
|
||||
const uglify = require('gulp-uglify-es').default;
|
||||
const sourcemaps = require('gulp-sourcemaps');
|
||||
|
||||
|
||||
const jsFiles = [
|
||||
@ -16,9 +17,11 @@ const jsDest = "Js";
|
||||
gulp.task('minify', function() {
|
||||
// place code for your default task here
|
||||
return gulp.src(jsFiles)
|
||||
.pipe(sourcemaps.init())
|
||||
.pipe(concat('XduPlayer.js'))
|
||||
.pipe(gulp.dest(jsDest))
|
||||
.pipe(rename('XduPlayer.min.js'))
|
||||
.pipe(uglify())
|
||||
.pipe(sourcemaps.write(''))
|
||||
.pipe(gulp.dest(jsDest));
|
||||
});
|
12
package.json
Normal file
12
package.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "XduPlayer",
|
||||
"devDependencies": {
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-sourcemaps": "^2.6.4",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"gulp-uglify-es": "^1.0.1"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user