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,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "4chan-XT",
|
"name": "4chan-XZ",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-terser": "^0.4.1",
|
"@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.",
|
"description": "4chan XT is a script that adds various features to anonymous imageboards.",
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "4chan XT",
|
"name": "4chan XT",
|
||||||
|
|||||||
@ -37,7 +37,7 @@ const minify = process.argv.includes('-min');
|
|||||||
const inlineFile = await setupFileInliner(packageJson);
|
const inlineFile = await setupFileInliner(packageJson);
|
||||||
|
|
||||||
const bundle = await rollup({
|
const bundle = await rollup({
|
||||||
input: resolve(__dirname, '../src/main/Main.js'),
|
input: resolve(__dirname, '../src/main/Main.ts'),
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript(),
|
typescript(),
|
||||||
inlineFile({
|
inlineFile({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user