@docsvision/management-console-extension-build 6.2.3-beta.1 → 6.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -7
- package/tsconfig.json +3 -1
- package/vite.base.config.js +4 -2
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsvision/management-console-extension-build",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.4",
|
|
4
4
|
"description": "Helper tools for building Management Console extensions.",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"autoprefixer": "
|
|
8
|
-
"postcss-custom-properties": "
|
|
7
|
+
"autoprefixer": "10.5.0",
|
|
8
|
+
"postcss-custom-properties": "15.0.1",
|
|
9
9
|
"tslib": "2.3.1",
|
|
10
|
-
"typescript": "
|
|
10
|
+
"typescript": "6.0.3",
|
|
11
11
|
"@types/react": "17.0.3",
|
|
12
12
|
"@types/react-dom": "17.0.3",
|
|
13
|
-
"vite": "^
|
|
14
|
-
"
|
|
15
|
-
"@vitejs/plugin-react": "^4.7.0",
|
|
13
|
+
"vite": "^8.0.16",
|
|
14
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
16
15
|
"del": "^8.0.1",
|
|
17
16
|
"gulp": "^5.0.1"
|
|
18
17
|
},
|
package/tsconfig.json
CHANGED
package/vite.base.config.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { existsSync, readFileSync, writeFileSync } from "fs";
|
|
2
2
|
import { defineConfig } from "vite";
|
|
3
3
|
import react from "@vitejs/plugin-react";
|
|
4
|
-
import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
4
|
import autoprefixer from "autoprefixer";
|
|
6
5
|
import postcssCustomProperties from "postcss-custom-properties";
|
|
7
6
|
import path from "path";
|
|
@@ -107,12 +106,15 @@ export function getBaseConfig(
|
|
|
107
106
|
|
|
108
107
|
return {
|
|
109
108
|
define: { "process.env.NODE_ENV": JSON.stringify("production") },
|
|
110
|
-
plugins: [react(),
|
|
109
|
+
plugins: [react(), injectManagementConsoleCssPlugin],
|
|
111
110
|
css: {
|
|
112
111
|
postcss: { plugins: [autoprefixer(), postcssCustomProperties()] },
|
|
113
112
|
devSourcemap: true,
|
|
114
113
|
},
|
|
115
114
|
optimizeDeps: { exclude: Array.from(EXTERNAL_EXACT) },
|
|
115
|
+
resolve: {
|
|
116
|
+
tsconfigPaths: true
|
|
117
|
+
},
|
|
116
118
|
build: {
|
|
117
119
|
target: "esnext",
|
|
118
120
|
minify: isProd ? "terser" : false,
|