Update configuation.

This commit is contained in:
CismonX 2020-11-03 05:14:05 +08:00
parent 59168bf3bf
commit d2c94e5773
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
5 changed files with 14 additions and 14 deletions

View File

@ -1,21 +1,21 @@
{ {
"comments": { "comments": {
"lineComment": "@c" "lineComment": "@c",
}, },
"brackets": [ "brackets": [
["{", "}"], ["{", "}"],
["[", "]"], ["[", "]"],
["(", ")"] ["(", ")"],
], ],
"autoClosingPairs": [ "autoClosingPairs": [
["{", "}"], ["{", "}"],
["[", "]"], ["[", "]"],
["(", ")"] ["(", ")"],
], ],
"surroundingPairs": [ "surroundingPairs": [
["{", "}"], ["{", "}"],
["[", "]"], ["[", "]"],
["(", ")"], ["(", ")"],
["`", "'"] ["`", "'"],
] ],
} }

4
package-lock.json generated
View File

@ -1217,7 +1217,8 @@
"he": { "he": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
"dev": true
}, },
"human-signals": { "human-signals": {
"version": "1.1.1", "version": "1.1.1",
@ -1551,6 +1552,7 @@
"version": "1.4.5", "version": "1.4.5",
"resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-1.4.5.tgz", "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-1.4.5.tgz",
"integrity": "sha512-sNm4Tdc8zj5HnFtkNEcK/1tpvyfRxEuz1d4rkVceGPeMTfzd2twPTiEo/UbqxOexSt9AzJ/cvQXSTj7fa6Ey1w==", "integrity": "sha512-sNm4Tdc8zj5HnFtkNEcK/1tpvyfRxEuz1d4rkVceGPeMTfzd2twPTiEo/UbqxOexSt9AzJ/cvQXSTj7fa6Ey1w==",
"dev": true,
"requires": { "requires": {
"he": "1.2.0" "he": "1.2.0"
} }

View File

@ -40,6 +40,7 @@
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,
"ignorePatterns": "out/**",
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"plugins": [ "plugins": [
"@typescript-eslint" "@typescript-eslint"
@ -176,7 +177,7 @@
".texinfo", ".texinfo",
".txi" ".txi"
], ],
"configuration": "./language-config.json" "configuration": "./language-configuration.json"
} }
], ],
"grammars": [ "grammars": [

View File

@ -4,17 +4,17 @@
"target": "ES2019", "target": "ES2019",
"outDir": "out", "outDir": "out",
"lib": [ "lib": [
"ES2019" "ES2019",
], ],
"esModuleInterop": true, "esModuleInterop": true,
"strictNullChecks": true, "strictNullChecks": true,
"sourceMap": true, "sourceMap": true,
"rootDir": "src", "rootDir": "src",
"strict": true, "strict": true,
"noImplicitReturns": true "noImplicitReturns": true,
}, },
"exclude": [ "exclude": [
"node_modules", "node_modules",
"*.config.ts" "*.config.ts",
] ],
} }

View File

@ -13,9 +13,6 @@ const config: webpack.Configuration = {
devtool: 'source-map', devtool: 'source-map',
optimization: { optimization: {
concatenateModules: true, concatenateModules: true,
innerGraph: true,
mergeDuplicateChunks: true,
mangleExports: true,
minimize: true, minimize: true,
}, },
externals: { externals: {