stylus/tools/remove-modules.js
Rob Garrison 4795154cf7 Use rimraf in build process
So it works on Windows 7
2018-08-12 04:51:15 -05:00

9 lines
223 B
JavaScript

#!/usr/bin/env node
'use strict';
const fs = require('fs');
const rimraf = require('rimraf');
// See https://github.com/isaacs/rimraf/issues/102#issuecomment-412310309
rimraf('node_modules/!(rimraf|.bin)', fs, () => {});