Update rollup.config.js
parent
45adeb9b93
commit
baa8121447
|
@ -210,7 +210,7 @@ function addIcon() {
|
||||||
.forEach(({ name: folderName }) => {
|
.forEach(({ name: folderName }) => {
|
||||||
fs.readdirSync(path.resolve(__dirname, './components/lib/icons/' + folderName)).forEach((file) => {
|
fs.readdirSync(path.resolve(__dirname, './components/lib/icons/' + folderName)).forEach((file) => {
|
||||||
if (/\.vue$/.test(file)) {
|
if (/\.vue$/.test(file)) {
|
||||||
addEntry('icon/' + folderName, 'index.vue', 'index');
|
addEntry('icons/' + folderName, 'index.vue', 'index');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue