We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468295c commit 0d16a8aCopy full SHA for 0d16a8a
gulpfile.js
@@ -187,10 +187,10 @@ task('bundle-esm-deps-for-cjs', async () => {
187
188
// Module CSS files
189
['pagination.css', 'a11y.css', 'autoplay.css'].forEach((file) => {
190
- const src = path.join(swiperNodeModules, 'modules', file);
191
- const dest = path.join(modulesDir, file);
192
- if (fs.existsSync(src)) {
193
- fs.copyFileSync(src, dest);
+ const srcPath = path.join(swiperNodeModules, 'modules', file);
+ const destPath = path.join(modulesDir, file);
+ if (fs.existsSync(srcPath)) {
+ fs.copyFileSync(srcPath, destPath);
194
}
195
});
196
0 commit comments