From 0e6de2c31dbf8c21277481f112e99c52b913940f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Dec 2017 19:33:54 +0100 Subject: node_modules --- node_modules/source-map-support/build.js | 79 -------------------------------- 1 file changed, 79 deletions(-) delete mode 100755 node_modules/source-map-support/build.js (limited to 'node_modules/source-map-support/build.js') diff --git a/node_modules/source-map-support/build.js b/node_modules/source-map-support/build.js deleted file mode 100755 index 998405c1c..000000000 --- a/node_modules/source-map-support/build.js +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env node - -var fs = require('fs'); -var path = require('path'); -var querystring = require('querystring'); -var child_process = require('child_process'); - -var browserify = path.resolve(path.join('node_modules', '.bin', 'browserify')); -var webpack = path.resolve(path.join('node_modules', '.bin', 'webpack')); -var coffee = path.resolve(path.join('node_modules', '.bin', 'coffee')); - -function run(command, callback) { - console.log(command); - child_process.exec(command, callback); -} - -// Use browserify to package up source-map-support.js -fs.writeFileSync('.temp.js', 'sourceMapSupport = require("./source-map-support");'); -run(browserify + ' .temp.js', function(error, stdout) { - if (error) throw error; - - // Wrap the code so it works both as a normal