hexo/node_modules/node-sass/scripts/prepublish.js

18 lines
245 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
/*!
* node-sass: scripts/install.js
*/
var path = require('path'),
rimraf = require('rimraf');
function prepublish() {
var vendorPath = path.resolve(__dirname, '..', 'vendor');
rimraf.sync(vendorPath);
}
/**
* Run
*/
prepublish();