dep: build script 변경
This commit is contained in:
@@ -470,7 +470,7 @@ import { unwrap } from "./util/unwrap";
|
||||
import { convertFormData } from "./util/convertFormData";
|
||||
import axios from "axios";
|
||||
import { NPCPriorityBtnHelpMessage } from "./helpTexts";
|
||||
import { CTooltip } from "@coreui/vue";
|
||||
import { CTooltip } from "@coreui/vue/src/directives/CTooltip";
|
||||
import draggable from "vuedraggable";
|
||||
import MyToast from "./components/MyToast.vue";
|
||||
import TopBackBar from "./components/TopBackBar.vue";
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, PropType } from "vue";
|
||||
import { ToastType } from "../defs";
|
||||
import { CToaster, CToast, CToastHeader, CToastBody } from "@coreui/vue";
|
||||
import { CToaster, CToast, CToastHeader, CToastBody } from "@coreui/vue/src/components/toast";
|
||||
|
||||
export default defineComponent({
|
||||
name: "MyToast",
|
||||
|
||||
+14
-14
@@ -25,10 +25,10 @@
|
||||
"@types/select2": "^4.0.54",
|
||||
"@types/summernote": "^0.8.6",
|
||||
"async-validator": "^4.0.3",
|
||||
"axios": "^0.21.1",
|
||||
"axios": "^0.21.4",
|
||||
"bootstrap": "^4.6.0",
|
||||
"bootstrap5": "npm:bootstrap@^5.1.0",
|
||||
"core-js": "^3.17.1",
|
||||
"bootstrap5": "npm:bootstrap@^5.1.1",
|
||||
"core-js": "^3.17.2",
|
||||
"date-fns": "^2.23.0",
|
||||
"downloadjs": "^1.4.7",
|
||||
"jquery": "^3.6.0",
|
||||
@@ -40,26 +40,26 @@
|
||||
"summernote": "^0.8.18",
|
||||
"vue": "^3.2.2",
|
||||
"vue-multiselect": "^3.0.0-alpha.2",
|
||||
"vue-types": "^4.1.0",
|
||||
"vuedraggable": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.14.8",
|
||||
"@babel/core": "^7.15.0",
|
||||
"@babel/preset-env": "^7.15.0",
|
||||
"@babel/cli": "^7.15.4",
|
||||
"@babel/core": "^7.15.5",
|
||||
"@babel/preset-env": "^7.15.4",
|
||||
"@babel/preset-typescript": "^7.15.0",
|
||||
"@swc/core": "^1.2.84",
|
||||
"@types/bootstrap": "^5.1.2",
|
||||
"@types/bootstrap": "^5.1.4",
|
||||
"@types/jquery": "^3.5.6",
|
||||
"@types/lodash": "^4.14.172",
|
||||
"@types/node": "^16.7.13",
|
||||
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
||||
"@typescript-eslint/parser": "^4.30.0",
|
||||
"@vue/compiler-sfc": "^3.2.7",
|
||||
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
||||
"@typescript-eslint/parser": "^4.31.0",
|
||||
"@vue/compiler-sfc": "^3.2.10",
|
||||
"@vue/eslint-config-typescript": "^7.0.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-preset-modern-browsers": "^15.0.2",
|
||||
"bootswatch": "^5.1.0",
|
||||
"bootswatch": "^5.1.1",
|
||||
"clean-terminal-webpack-plugin": "^3.0.0",
|
||||
"css-loader": "^6.2.0",
|
||||
"css-minimizer-webpack-plugin": "^3.0.2",
|
||||
@@ -73,10 +73,10 @@
|
||||
"ts-loader": "^9.2.5",
|
||||
"typescript": "^4.4.2",
|
||||
"url-loader": "^4.1.1",
|
||||
"vue-eslint-parser": "^7.10.0",
|
||||
"vue-eslint-parser": "^7.11.0",
|
||||
"vue-loader": "^16.5.0",
|
||||
"vue-style-loader": "^4.1.3",
|
||||
"webpack": "^5.51.2",
|
||||
"webpack": "^5.52.0",
|
||||
"webpack-bundle-analyzer": "^4.4.2",
|
||||
"webpack-cli": "^4.8.0"
|
||||
},
|
||||
|
||||
+9
-11
@@ -13,7 +13,7 @@ module.exports = (env, argv) => {
|
||||
const ingame_vue = {
|
||||
name: 'ingame_vue',
|
||||
resolve: {
|
||||
extensions: [".js", ".ts", ".jsx", ".tsx", ".vue"],
|
||||
extensions: [".ts", ".tsx", ".vue", ".js"],
|
||||
alias: {
|
||||
vue: "@vue/runtime-dom"
|
||||
}
|
||||
@@ -57,8 +57,6 @@ module.exports = (env, argv) => {
|
||||
comments: /@license/i,
|
||||
},
|
||||
},
|
||||
minify: TerserPlugin.swcMinify,
|
||||
parallel: true,
|
||||
extractComments: true,
|
||||
}),
|
||||
],
|
||||
@@ -68,7 +66,7 @@ module.exports = (env, argv) => {
|
||||
//FROM `vue inspect` and some tweaks
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
exclude: /(node_modules)/,
|
||||
//exclude: /(node_modules)/,
|
||||
use: [
|
||||
'babel-loader',
|
||||
{
|
||||
@@ -83,6 +81,13 @@ module.exports = (env, argv) => {
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /(node_modules)/,
|
||||
use: [
|
||||
'babel-loader',
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader',
|
||||
@@ -158,7 +163,6 @@ module.exports = (env, argv) => {
|
||||
],
|
||||
cache: {
|
||||
type: 'filesystem',
|
||||
allowCollectingMemory: true,
|
||||
},
|
||||
};
|
||||
const ingame = {
|
||||
@@ -215,8 +219,6 @@ module.exports = (env, argv) => {
|
||||
comments: /@license/i,
|
||||
},
|
||||
},
|
||||
minify: TerserPlugin.swcMinify,
|
||||
parallel: true,
|
||||
extractComments: true,
|
||||
}),
|
||||
],
|
||||
@@ -254,7 +256,6 @@ module.exports = (env, argv) => {
|
||||
],
|
||||
cache: {
|
||||
type: 'filesystem',
|
||||
allowCollectingMemory: true,
|
||||
},
|
||||
};
|
||||
const gateway = {
|
||||
@@ -295,8 +296,6 @@ module.exports = (env, argv) => {
|
||||
comments: /@license/i,
|
||||
},
|
||||
},
|
||||
minify: TerserPlugin.swcMinify,
|
||||
parallel: true,
|
||||
extractComments: true,
|
||||
}),
|
||||
],
|
||||
@@ -332,7 +331,6 @@ module.exports = (env, argv) => {
|
||||
],
|
||||
cache: {
|
||||
type: 'filesystem',
|
||||
allowCollectingMemory: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user