fix: 编译错误
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
<% dir.forEach(name => { -%>
|
||||
var <%- name %> = require('./<%- name %>/index.js');
|
||||
<% dir.forEach(dirPath => { -%>
|
||||
var <%- dirPathToName(dirPath) %> = require('./<%- dirPath %>/index.js');
|
||||
<% }) -%>
|
||||
var Components = [
|
||||
<% dir.forEach(name => { -%>
|
||||
<%- name %>,
|
||||
<% dir.forEach(dirPath => { -%>
|
||||
<%- dirPathToName(dirPath) %>,
|
||||
<% }) -%>
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user