Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/build-plugins.js')
-rw-r--r--build/build-plugins.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js
index 401c676017..8fa0e0b1f3 100644
--- a/build/build-plugins.js
+++ b/build/build-plugins.js
@@ -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))
})
}