@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<title>UTRP Options</title>
|
||||
<title>Popup</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -58,7 +58,7 @@ export default function PopupMain(): JSX.Element {
|
||||
));
|
||||
|
||||
const handleOpenOptions = async () => {
|
||||
const url = chrome.runtime.getURL('/options.html');
|
||||
const url = chrome.runtime.getURL('/src/pages/options/index.html');
|
||||
await openTabFromContentScript(url);
|
||||
};
|
||||
|
||||
|
||||
@@ -155,10 +155,6 @@ export default defineConfig({
|
||||
target: 'http://localhost:5173',
|
||||
rewrite: path => path.replace('calendar', 'src/pages/calendar/index'),
|
||||
},
|
||||
'/options.html': {
|
||||
target: 'http://localhost:5173',
|
||||
rewrite: path => path.replace('options', 'src/pages/options/index'),
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
@@ -166,7 +162,6 @@ export default defineConfig({
|
||||
input: {
|
||||
debug: 'src/pages/debug/index.html',
|
||||
calendar: 'src/pages/calendar/index.html',
|
||||
options: 'src/pages/options/index.html',
|
||||
},
|
||||
// output: {
|
||||
// entryFileNames: `[name].js`, // otherwise it will add the hash
|
||||
|
||||
Reference in New Issue
Block a user