Skip to content

Commit

Permalink
优化编译,server端babel配置文件的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
yc committed Mar 17, 2021
1 parent c517bef commit cb5566d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/lib/server/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('@babel/register')({
extends: './.babelrc',
extends: '../.babelrc',
ignore: [/node_modules/],
cache: true,
})
Expand Down
2 changes: 1 addition & 1 deletion build/lib/server/indexControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (oridata) {
return {
get: function name(ctx) {
oridata.title = 'aotoo-hub 多项目全栈脚手架'
oridata.root = '123'
oridata.root = 'aotoo-hub 智能脚手架'
return oridata
},
post: function name(ctx) {
Expand Down

0 comments on commit cb5566d

Please sign in to comment.