add direction observer and improve sizeobserver tests

This commit is contained in:
Rene
2020-11-08 03:08:28 +01:00
parent 7df21970e6
commit 84fbb436f9
8 changed files with 231 additions and 87 deletions
-6
View File
@@ -256,12 +256,6 @@ const rollupConfig = (config = {}, { project = process.cwd(), overwrite = {}, si
if (isLast) {
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);