Преглед изворни кода

Bumps node types version

Ensures classname don't get mangled
main
Eric Amodio пре 1 година
родитељ
комит
1109ec8be7
3 измењених фајлова са 11 додато и 7 уклоњено
  1. +1
    -1
      package.json
  2. +6
    -2
      webpack.config.js
  3. +4
    -4
      yarn.lock

+ 1
- 1
package.json Прегледај датотеку

@ -15819,7 +15819,7 @@
"@swc/core": "1.3.99",
"@twbs/fantasticon": "2.7.1",
"@types/mocha": "10.0.6",
"@types/node": "16.11.47",
"@types/node": "18.15.0",
"@types/react": "17.0.71",
"@types/react-dom": "17.0.21",
"@types/sortablejs": "1.15.7",

+ 6
- 2
webpack.config.js Прегледај датотеку

@ -164,6 +164,8 @@ function getExtensionConfig(target, mode, env) {
compress: {
drop_debugger: true,
ecma: 2020,
// Keep the class names otherwise @log won't provide a useful name
keep_classnames: true,
module: true,
},
ecma: 2020,
@ -411,6 +413,8 @@ function getWebviewsConfig(mode, env) {
drop_debugger: true,
drop_console: true,
ecma: 2020,
// Keep the class names otherwise @log won't provide a useful name
keep_classnames: true,
module: true,
},
ecma: 2020,
@ -418,8 +422,8 @@ function getWebviewsConfig(mode, env) {
comments: false,
ecma: 2020,
},
// // Keep the class names otherwise @log won't provide a useful name
// keep_classnames: true,
// Keep the class names otherwise @log won't provide a useful name
keep_classnames: true,
module: true,
},
}),

+ 4
- 4
yarn.lock Прегледај датотеку

@ -817,10 +817,10 @@
dependencies:
undici-types "~5.26.4"
"@types/node@16.11.47":
version "16.11.47"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.47.tgz#efa9e3e0f72e7aa6a138055dace7437a83d9f91c"
integrity sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g==
"@types/node@18.15.0":
version "18.15.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.0.tgz#286a65e3fdffd691e170541e6ecb0410b16a38be"
integrity sha512-z6nr0TTEOBGkzLGmbypWOGnpSpSIBorEhC4L+4HeQ2iezKCi4f77kyslRwvHeNitymGQ+oFyIWGP96l/DPSV9w==
"@types/normalize-package-data@^2.4.0":
version "2.4.4"

Loading…
Откажи
Сачувај