From 7beea3e8813ab02bc61857cae589d23b7c4cfadd Mon Sep 17 00:00:00 2001 From: RickyRAV Date: Sun, 15 Sep 2024 00:30:45 +0200 Subject: [PATCH] kms --- .gitignore | 5 +---- package.json | 3 --- webpack.config.js | 16 ---------------- 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 webpack.config.js diff --git a/.gitignore b/.gitignore index b0beeb1..5a58d22 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,4 @@ node_modules lmao.js .env.development bun.lockb -.env.tests - -# build -build \ No newline at end of file +.env.tests \ No newline at end of file diff --git a/package.json b/package.json index edb3684..93d191d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "scripts": { "test": "vitest", "dev": "nodemon -r dotenv/config ./index.js dotenv_config_path=./.env.production", - "build": "webpack", "db-introspect": "dotenv -e .env.development -- prisma generate", "db-generate": "dotenv -e .env.development -- prisma db pull", "db-sync": "dotenv -e .env.tests -- prisma db push" @@ -34,8 +33,6 @@ "tiktoken": "^1.0.10", "uuid": "^9.0.1", "vitest": "^0.34.6", - "webpack": "^5.94.0", - "webpack-cli": "^5.1.4", "yamljs": "^0.3.0" } } diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index eb8575b..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,16 +0,0 @@ -import path from 'path'; -import {fileURLToPath} from 'url'; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -export default { - mode: "production", - entry: './index.js', - output: { - path: path.join(__dirname, 'build'), - publicPath: "/", - filename: "index.js" - }, - target: 'node' -}; \ No newline at end of file