Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Raimund Schlüßler 2023-02-28 09:10:27 +01:00 коммит произвёл GitHub
Родитель 1d2cba7a2f
Коммит ae4a77cf51
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -1,7 +1,7 @@
const webpackConfig = require('@nextcloud/webpack-vue-config')
const webpackRules = require('@nextcloud/webpack-vue-config/rules')
const glob = require('glob')
const { globSync } = require('glob')
const md5 = require('md5')
const path = require('path')
@ -28,7 +28,7 @@ webpackConfig.entry = {
install: path.join(__dirname, 'src', 'install.js'),
ncvuecomponents: path.join(__dirname, 'src', 'index.js'),
...glob.sync('src/components/*/index.js').reduce((acc, item) => {
...globSync('src/components/*/index.js').reduce((acc, item) => {
const name = item
.replace('/index.js', '')
.replace('src/components/', 'Components/')
@ -36,7 +36,7 @@ webpackConfig.entry = {
return acc
}, {}),
...glob.sync('src/directives/*/index.js').reduce((acc, item) => {
...globSync('src/directives/*/index.js').reduce((acc, item) => {
const name = item
.replace('/index.js', '')
.replace('src/directives/', 'Directives/')
@ -44,7 +44,7 @@ webpackConfig.entry = {
return acc
}, {}),
...glob.sync('src/functions/*/index.js').reduce((acc, item) => {
...globSync('src/functions/*/index.js').reduce((acc, item) => {
const name = item
.replace('/index.js', '')
.replace('src/functions/', 'Functions/')
@ -52,7 +52,7 @@ webpackConfig.entry = {
return acc
}, {}),
...glob.sync('src/mixins/*/index.js').reduce((acc, item) => {
...globSync('src/mixins/*/index.js').reduce((acc, item) => {
const name = item
.replace('/index.js', '')
.replace('src/mixins/', 'Mixins/')