mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 14:06:09 +05:00
Allow URL override, optimize docker image (#486)
* Allow URL override, optimize docker image Remove unused gulp * Re-enable UPX
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const gulp = require('gulp')
|
||||
const inlinesource = require('gulp-inline-source')
|
||||
const replace = require('gulp-replace')
|
||||
|
||||
gulp.task('default', () =>
|
||||
gulp
|
||||
.src('./build/*.html')
|
||||
.pipe(replace('.js"></script>', '.js" inline></script>'))
|
||||
.pipe(replace('rel="stylesheet">', 'rel="stylesheet" inline>'))
|
||||
.pipe(
|
||||
inlinesource({
|
||||
compress: false,
|
||||
ignore: ['png'],
|
||||
}),
|
||||
)
|
||||
.pipe(gulp.dest('./dest')),
|
||||
)
|
||||
@@ -30,7 +30,6 @@
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"build-js": "yarn run build && npx gulp",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint --ext .js,.jsx src --color",
|
||||
@@ -60,9 +59,6 @@
|
||||
"eslint-config-airbnb": "^18.2.1",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-inline-source": "^4.0.0",
|
||||
"gulp-replace": "^1.1.4",
|
||||
"prettier": "^2.8.8"
|
||||
},
|
||||
"description": "",
|
||||
|
||||
5281
web/yarn.lock
5281
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user