mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-08 05:12:29 +03:00
refine browser testing
This commit is contained in:
@@ -254,8 +254,14 @@ const rollupConfig = (config = {}, { project = process.cwd(), overwrite = {}, si
|
||||
});
|
||||
}
|
||||
if (isLast) {
|
||||
build.plugins.unshift({
|
||||
build.plugins.push({
|
||||
name: 'deleteCacheDirs',
|
||||
moduleParsed(moduleInfo) {
|
||||
//if (filename.includes('index.browser')) {
|
||||
console.log('moduleInfo', moduleInfo);
|
||||
//console.log('importer', filename);
|
||||
//}
|
||||
},
|
||||
writeBundle() {
|
||||
const cacheDirs = cache.map((dir) => path.resolve(projectPath, dir));
|
||||
const deletedDirs = del.sync(cacheDirs);
|
||||
|
||||
Reference in New Issue
Block a user