swico 0.6.0-beta28 → 0.6.0-beta29

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "0.6.0-beta28",
3
+ "version": "0.6.0-beta29",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -288,7 +288,7 @@ var initTemplateConfig = function (routerConfig, templateType, env) {
288
288
  switch (_a.label) {
289
289
  case 0:
290
290
  copyTargetPath = path_1.default.resolve(projectPath, "./src/.swico".concat(envPath));
291
- return [4, (0, tools_1.copyDirFiles)(path_1.default.resolve(__dirname, "../template/".concat(templateType, "/env")), copyTargetPath, function (fileName) {
291
+ return [4, (0, tools_1.copyDirFiles)(path_1.default.resolve(__dirname, "../template/".concat(templateType, "/.env")), copyTargetPath, function (fileName) {
292
292
  return !fileName.endsWith('.d.ts') &&
293
293
  (templateType === 'vue'
294
294
  ? !['Container.js', 'hooks.js'].includes(fileName)