From 2a83c670159ccd3a6db6cef13e5209df0ce8b785 Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Mon, 19 Oct 2020 17:07:25 -0700 Subject: [PATCH] cleanup --- src/index.ts | 3 +-- webpack.config.js | 29 ----------------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 webpack.config.js diff --git a/src/index.ts b/src/index.ts index 7736529..5dc32f1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,9 @@ import Module from 'module' import * as path from 'path' import * as fs from 'fs' -import { Diagnostic, DiagnosticCategory, textSpanContainsPosition } from 'typescript' import { getInput, setFailed } from '@actions/core' import { reporter } from './reporter' -import type { CompilerOptions, ParsedCommandLine } from "typescript" +import type { CompilerOptions, Diagnostic, ParsedCommandLine } from "typescript" type TS = typeof import('typescript') diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index d192778..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,29 +0,0 @@ -const path = require('path') -const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); - -module.exports = { - mode: 'production', - entry: './src/index.ts', - output: { - path: path.resolve(__dirname, 'dist'), - filename: 'index.js' - }, - target: 'node', - module: { - rules: [ - { - test: /\.tsx?$/, - loader: 'ts-loader', - options: { - transpileOnly: true - } - } - ] - }, - resolve: { - extensions: [ '.ts', '.tsx', '.js' ] - }, - plugins: [ - new HardSourceWebpackPlugin() - ] -} \ No newline at end of file