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