Update
parent
0e4667779f
commit
2776b48f2b
|
|
@ -5,8 +5,6 @@
|
||||||
"author": "neobooru",
|
"author": "neobooru",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prettier": "prettier \"src/**/*.{ts,js,vue}\"",
|
|
||||||
"prettier:write": "npm run prettier -- --write",
|
|
||||||
"build": "cross-env NODE_ENV=production webpack --hide-modules",
|
"build": "cross-env NODE_ENV=production webpack --hide-modules",
|
||||||
"build:dev": "cross-env NODE_ENV=development webpack --hide-modules",
|
"build:dev": "cross-env NODE_ENV=development webpack --hide-modules",
|
||||||
"build-zip": "node scripts/build-zip.js",
|
"build-zip": "node scripts/build-zip.js",
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ export class Config {
|
||||||
if ("config" in storage) {
|
if ("config" in storage) {
|
||||||
config = Object.assign(config, JSON.parse(storage["config"]));
|
config = Object.assign(config, JSON.parse(storage["config"]));
|
||||||
}
|
}
|
||||||
|
|
||||||
console.dir("Load " + JSON.stringify(config));
|
console.dir("Load " + JSON.stringify(config));
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<title>SzuruChrome - Options</title>
|
<title>SzuruChrome - Options</title>
|
||||||
<link rel="stylesheet" href="options.css">
|
<link rel="stylesheet" href="options.css" />
|
||||||
<% if (NODE_ENV === 'development') { %>
|
<% if (NODE_ENV === 'development') { %>
|
||||||
<!-- Load some resources only in development environment -->
|
<!-- Load some resources only in development environment -->
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
@ -15,4 +15,4 @@
|
||||||
<script src="options.js"></script>
|
<script src="options.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,18 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Title</title>
|
|
||||||
<link rel="stylesheet" href="popup.css">
|
|
||||||
<% if (NODE_ENV === 'development') { %>
|
|
||||||
<!-- Load some resources only in development environment -->
|
|
||||||
<% } %>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="app">
|
|
||||||
|
|
||||||
</div>
|
<head>
|
||||||
<script src="popup.js"></script>
|
<meta charset="UTF-8" />
|
||||||
|
<title>Title</title>
|
||||||
|
<link rel="stylesheet" href="popup.css" />
|
||||||
|
<% if (NODE_ENV === 'development') { %>
|
||||||
|
<!-- Load some resources only in development environment -->
|
||||||
|
<% } %>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="popup.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare module "*.vue" {
|
declare module "*.vue" {
|
||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
export default Vue;
|
export default Vue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue