gant-core 0.1.43 → 0.1.44
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/lib/cli/index.js +23 -4
- package/lib/cli/index.js.map +1 -1
- package/lib/index.d.ts +10 -1
- package/package.json +1 -1
package/lib/cli/index.js
CHANGED
|
@@ -5967,8 +5967,24 @@ const defaultConfig = {
|
|
|
5967
5967
|
locale: true,
|
|
5968
5968
|
//转化工具
|
|
5969
5969
|
transformTool: true,
|
|
5970
|
-
|
|
5971
|
-
|
|
5970
|
+
//热键全屏工具
|
|
5971
|
+
hotKeyTool: true,
|
|
5972
|
+
//全屏工具
|
|
5973
|
+
fullScreenTool: true,
|
|
5974
|
+
//测网速工具
|
|
5975
|
+
networkSpeedTool: true,
|
|
5976
|
+
//录制模式工具
|
|
5977
|
+
recordModeTool: true,
|
|
5978
|
+
//debugger 工具
|
|
5979
|
+
debuggerTool: true,
|
|
5980
|
+
//紧凑模式
|
|
5981
|
+
compactMode: true,
|
|
5982
|
+
//暗黑模式
|
|
5983
|
+
drakMode: true,
|
|
5984
|
+
//会议模式
|
|
5985
|
+
meettingMode: true,
|
|
5986
|
+
//动效模式
|
|
5987
|
+
motionMode: true,
|
|
5972
5988
|
//全部菜单
|
|
5973
5989
|
menuCollection: true,
|
|
5974
5990
|
//版本信息
|
|
@@ -24393,7 +24409,9 @@ var getProConfig = (config, cwd) => {
|
|
|
24393
24409
|
mode: "production",
|
|
24394
24410
|
optimization: {
|
|
24395
24411
|
minimize: true,
|
|
24396
|
-
minimizer: [new CssMinimizerPlugin(), new TerserPlugin(
|
|
24412
|
+
minimizer: [new CssMinimizerPlugin(), new TerserPlugin({
|
|
24413
|
+
extractComments: false,
|
|
24414
|
+
})],
|
|
24397
24415
|
runtimeChunk: 'single',
|
|
24398
24416
|
...optimization,
|
|
24399
24417
|
splitChunks: {
|
|
@@ -24670,6 +24688,7 @@ const getDefaultConfig = (cwd, config) => {
|
|
|
24670
24688
|
BASE: JSON.stringify(base),
|
|
24671
24689
|
SETTING: JSON.stringify(setting || {}),
|
|
24672
24690
|
...mapValues(define, (value) => JSON.stringify(value)),
|
|
24691
|
+
process: JSON.stringify(process)
|
|
24673
24692
|
}),
|
|
24674
24693
|
],
|
|
24675
24694
|
}, webpackConfig);
|
|
@@ -66794,7 +66813,7 @@ const createCwdConfig = (cwd, name, vue) => {
|
|
|
66794
66813
|
};
|
|
66795
66814
|
|
|
66796
66815
|
var name = "gant-core";
|
|
66797
|
-
var version = "0.1.
|
|
66816
|
+
var version = "0.1.44";
|
|
66798
66817
|
var description = "";
|
|
66799
66818
|
var main = "lib/index.js";
|
|
66800
66819
|
var bin = {
|