prepublish.js 245 B

1234567891011121314151617
  1. /*!
  2. * node-sass: scripts/install.js
  3. */
  4. var path = require('path'),
  5. rimraf = require('rimraf');
  6. function prepublish() {
  7. var vendorPath = path.resolve(__dirname, '..', 'vendor');
  8. rimraf.sync(vendorPath);
  9. }
  10. /**
  11. * Run
  12. */
  13. prepublish();