From a85dc7c0302c80dcc1acb605230ed6964b207399 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Mon, 15 Feb 2021 21:34:50 +0100 Subject: [PATCH] Removed webpack --- package.json | 4 +--- tsconfig.json | 7 +++---- webpack.config.js | 11 ----------- 3 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 webpack.config.js diff --git a/package.json b/package.json index 2518e88..b35305f 100644 --- a/package.json +++ b/package.json @@ -58,9 +58,7 @@ "nyc": "^15.1.0", "source-map-loader": "^2.0.1", "ts-loader": "^8.0.17", - "typescript": "^4.2.0-insiders.20210210", - "webpack": "^5.22.0", - "webpack-cli": "^4.5.0" + "typescript": "^4.2.0-insiders.20210210" }, "bugs": { "url": "https://github.com/MillenniumEarl/F95API/issues" diff --git a/tsconfig.json b/tsconfig.json index e127782..865441e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,11 +3,10 @@ "experimentalDecorators": true, "outDir": "./dist", "allowJs": true, - "target": "es6", + "module": "es6", + "target": "es5", "moduleResolution": "node", "allowSyntheticDefaultImports": true, }, - "include": [ - "./src/**/*" - ] + "include": ["./src/**/*"] } \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index a3e867c..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module: { - loaders: [ - // All files with a '.ts' or '.tsx' extension will be handled by 'awesome-typescript-loader'. - { test: /\.tsx?$/, loader: "awesome-typescript-loader" } - ], - - preLoaders: [ - // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'. - { test: /\.js$/, loader: "source-map-loader" } - ] -} \ No newline at end of file