gant-core 0.1.43 → 0.1.45

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