refactor: remove typescript and refactor

This commit is contained in:
dunak-debug committed 2021-08-17 02:58:31 +02:00
1 parent d2a9a433bb
commit 8df05c748b
11 files changed
+283 -219

No files matched your search

-27
View File
@@ -1,27 +0,0 @@
const path = require('path');
module.exports = {
mode: "production",
optimization: {
minimize: false
},
target: 'node',
entry: './src/index.ts',
module: {
rules: [
{
test: /\.ts$/,
loader: 'ts-loader',
include: path.resolve(__dirname, 'src'),
exclude: /node_modules/,
},
],
},
resolve: {
extensions: ['.ts', '.js'],
},
output: {
filename: 'oxmysql.js',
path: path.resolve(__dirname, 'dist'),
},
};