{"version":3,"sources":["jsdelivr-header.js","/npm/generator-vue-preset@1.0.0/generator.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACKA,IAAI,QAAU,QAAQ,YAClB,GAAK,QAAQ,aAAa,QAAQ,aAClC,KAAO,UAAU,QAAQ,MAAM,IACnC,SAAS,SAAS,GACd,OAAO,GAAG,UAAU,KAAO,WAAY,GAAS,MAAK,SAAU,GAC3D,OAAO,EAAM,QAAQ,MAAM,GAAO,QAAQ,IAAI,4BAClD,GACJ,CAEA,OAAO,QAAU","file":"/npm/generator-vue-preset@1.0.0/generator.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/generator-vue-preset@1.0.0/generator.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// module.exports = (api, options, rootOptions) => {\n//   api.extendPackage({\n//     author: options.problem2,\n//     script:{\n//       test: 'vue-cli-servuce command'\n//     }\n//   })\n//   //复制并用ejs渲染template内的文件\n//   //判断用户的选择 渲染对应的模板\n//   api.render(`./template/${option.problem1}`)\n// }\nvar Promise = require(\"bluebird\"),\n    fs = Promise.promisifyAll(require('fs-extra'));\nvar root = __dirname.replace(/lib/,'');\nfunction generate(project) {\n    return fs.copyAsync(root + 'template', project).then(function (err) {\n        return err ? console.error(err) : console.log('gennerate project success')\n    })\n}\n\nmodule.exports = generate;"]}