18 lines
245 B
JavaScript
18 lines
245 B
JavaScript
/*!
|
|
* 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();
|