 			cleaner.write bundle
 			bundle = cleaner.toString()
 			log.end logtime
+		else
+			bundle = bundle.replace ///<production>([^]*?)<\/production>///gm, ''
 
 		if opts.minify
 			logtime = log.time 'Minimalize'
 			fs.writeFileSync './tmp.js', bundle, 'utf-8'
 
-			cp.exec "./node_modules/uglify-js/bin/uglifyjs " +
+			cp.exec "uglifyjs " +
 			"./tmp.js " +
 			"--screw-ie8 " +
 			"--compress negate_iife=false,keep_fargs " +

	assert.isFunction callback

	BUNDLE_FILE_PATH = __dirname + "/bundle.#{utils.uid()}.tmp.js"

	logtime = log.time 'Resolve bundle modules'
	fs.writeFileSync BUNDLE_FILE_PATH, "(#{processFile})()"

uglify = require 'uglify-js'
Module = require 'module'

utils = require 'utils'
log = require 'log'
assert = require './node_modules/assert'

processFile = require './process'
buildResult = require './result'
