You've already forked bilibili-subtitle
fix
This commit is contained in:
8
fix.cjs
Normal file
8
fix.cjs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
console.log('fix.js loaded');
|
||||||
|
|
||||||
|
const fs = require('fs')
|
||||||
|
|
||||||
|
//copy index.html to sidepanel.html
|
||||||
|
fs.copyFileSync('./dist/index.html', './dist/sidepanel.html')
|
||||||
|
|
||||||
|
console.log('fix.js done');
|
@@ -7,7 +7,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build && node fix.cjs",
|
||||||
"fix": "eslint --fix --quiet ."
|
"fix": "eslint --fix --quiet ."
|
||||||
},
|
},
|
||||||
"author": "IndieKKY",
|
"author": "IndieKKY",
|
||||||
|
Reference in New Issue
Block a user