Change from js to Typescript
This commit is contained in:
parent
ebe35f2972
commit
be9701305e
4
package-lock.json
generated
4
package-lock.json
generated
@ -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",
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user