Change from js to Typescript

This commit is contained in:
Victor Risgaard 2023-11-14 05:04:27 +01:00
parent ebe35f2972
commit be9701305e
No known key found for this signature in database
GPG Key ID: 0A195363F0F0A885
94 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,10 +1,10 @@
{
"name": "4chan-XT",
"name": "4chan-XZ",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "4chan-XT",
"name": "4chan-XZ",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.1",

View File

@ -1,5 +1,5 @@
{
"name": "4chan-XT",
"name": "4chan-XZ",
"description": "4chan XT is a script that adds various features to anonymous imageboards.",
"meta": {
"name": "4chan XT",
@ -143,4 +143,4 @@
"build": "node ./tools/rollup",
"build:min": "node ./tools/rollup -min"
}
}
}

View File

@ -37,7 +37,7 @@ const minify = process.argv.includes('-min');
const inlineFile = await setupFileInliner(packageJson);
const bundle = await rollup({
input: resolve(__dirname, '../src/main/Main.js'),
input: resolve(__dirname, '../src/main/Main.ts'),
plugins: [
typescript(),
inlineFile({