gant-core 0.1.8 → 0.1.10

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
@@ -6323,7 +6323,6 @@ const getCssRules = (mode) => {
6323
6323
  modules: {
6324
6324
  // 启用CSS模块化
6325
6325
  localIdentName: '[name]__[local]--[hash:base64:5]',
6326
- auto: true,
6327
6326
  },
6328
6327
  },
6329
6328
  },
@@ -51358,7 +51357,7 @@ var createModule = async () => {
51358
51357
  createCwdConfig(packagePath, info.name, vue);
51359
51358
  fs$6.mkdirSync(path$5.resolve(packagePath, 'public'));
51360
51359
  fs$6.mkdirSync(path$5.resolve(packagePath, 'src'));
51361
- fs$6.writeFileSync(path$5.resolve(packagePath, 'package.json'), templatelateConfig(info));
51360
+ fs$6.writeFileSync(path$5.resolve(packagePath, 'package.json'), templatelateConfig({ ...info, coreVersion: pkg.version }));
51362
51361
  fs$6.writeFileSync(path$5.resolve(packagePath, 'tsconfig.json'), `{
51363
51362
  "extends": ["./src/.gant/tsconfig.json"]
51364
51363
  }`);