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