1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 19:31:35 +02:00

Rename variables

This commit is contained in:
XhmikosR
2021-10-29 10:38:35 +03:00
parent 3ac4451d47
commit 62d86c07f8
15 changed files with 115 additions and 115 deletions

View File

@@ -15,8 +15,8 @@ const globby = require('globby')
const { babel } = require('@rollup/plugin-babel')
const banner = require('./banner.js')
const srcPath = path.resolve(__dirname, '../js/src/').replace(/\\/g, '/')
const jsFiles = globby.sync(srcPath + '/**/*.js')
const sourcePath = path.resolve(__dirname, '../js/src/').replace(/\\/g, '/')
const jsFiles = globby.sync(sourcePath + '/**/*.js')
// Array which holds the resolved plugins
const resolvedPlugins = []
@@ -31,7 +31,7 @@ for (const file of jsFiles) {
dist: file.replace('src', 'dist'),
fileName: path.basename(file),
className: filenameToEntity(path.basename(file))
// safeClassName: filenameToEntity(path.relative(srcPath, file))
// safeClassName: filenameToEntity(path.relative(sourcePath, file))
})
}