Compare commits

..

1 Commits

Author SHA1 Message Date
971b75c823 1
555

Signed-off-by: lxbfYeaa <lxbfyeaa@noreply.git.gogec.cn>
2026-04-13 07:45:43 +00:00
2 changed files with 22 additions and 25 deletions

22
backEnd/webpack.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import path from "path";
module.exports = {
entry: "./index.ts",
module: {
rules: [
{
test: /\.ts$/,
use: "ts-loader",
exclude: /node_modules/,
},
],
},
resolve: {
extensions: [".ts", ".js"],
},
output: {
filename: "index.js",
path: path.resolve(__dirname, "dist"),
},
target: "node",
};

View File

@@ -1,25 +0,0 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { join } from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": join(__dirname, "/src"),
},
extensions: [".js", ".vue"],
},
server: {
host: true,
},
css: {
preprocessorOptions: {
scss: {
api: "modern",
silenceDeprecations: ["legacy-js-api"],
},
},
},
});