2023-10-03 11:14:36 +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();
|