add-cms
This commit is contained in:
15
source/admin/scripts/cache.js
Normal file
15
source/admin/scripts/cache.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
const cache = require('cache-me-outside');
|
||||
|
||||
cache({
|
||||
cacheFolder: path.join('/', 'opt', 'build', 'cache', 'fast-cache'),
|
||||
contents: [
|
||||
{
|
||||
path: path.join(os.homedir(), '.cache', 'Cypress'),
|
||||
invalidateOn: __filename,
|
||||
command: 'echo noop',
|
||||
},
|
||||
],
|
||||
ignoreIfFolderExists: false,
|
||||
});
|
||||
Reference in New Issue
Block a user