minifyify
Version:
Minify your browserify bundles without losing the sourcemap
1 lines • 1.47 kB
JSON
{"version":3,"sources":["../../../node_modules/browser-pack/_prelude.js","entry.js"],"names":["myString","anotherString","header","document","createElement","msg","join","innerHTML","body","appendChild"],"mappings":"AAAA;ACAA,GAAIA,WAAY,OAAO,OAAO,MAAM,UAChCC,cACAC,OAASC,SAASC,cAAc,MAChCC,IAAMF,SAASC,cAAc,IAEjCH,eAAgBD,SAASM,KAAK,KAE9BJ,OAAOK,UAAYN,cACnBE,SAASK,KAAKC,YAAYP,QAE1BG,IAAIE,UAAY,8OAChBJ,SAASK,KAAKC,YAAYJ","file":"bundle.js","sourcesContent":["(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})","var myString = ['Open','Your','Dev','Tools!']\n , anotherString\n , header = document.createElement('h1')\n , msg = document.createElement('p');\n\nanotherString = myString.join(' ');\n\nheader.innerHTML = anotherString;\ndocument.body.appendChild(header);\n\nmsg.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>';\ndocument.body.appendChild(msg);\n"]}