UNPKG

minifyify

Version:

Minify your browserify bundles without losing the sourcemap

6 lines (4 loc) 1.04 kB
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ var myString=["Open","Your","Dev","Tools!"],anotherString,header=document.createElement("h1"),msg=document.createElement("p");anotherString=myString.join(" "),header.innerHTML=anotherString,document.body.appendChild(header),msg.innerHTML='Do you see this? Great! Too bad this isn\'t actually the test.<br /><br />Open your dev tools and see if an "entry.js" file is there. If so, the actual test suceeded.<br /><br /><em>Remember to turn on source maps in your options!</em>',document.body.appendChild(msg); },{}]},{},[1]) //# sourceMappingURL=bundle.map.json