Skip to content
Snippets Groups Projects
Commit 5e61e5a1 authored by Glenn Vorhes's avatar Glenn Vorhes
Browse files

output file name in bundler

parent 7b497b3d
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,8 @@ function _processOutDir(outputFile) { ...@@ -53,6 +53,8 @@ function _processOutDir(outputFile) {
export function bundleEs2015(inputFile, outFile, production) { export function bundleEs2015(inputFile, outFile, production) {
"use strict"; "use strict";
if (typeof outFile == 'string') { if (typeof outFile == 'string') {
outFile = _processOutDir(outFile); outFile = _processOutDir(outFile);
} }
...@@ -84,6 +86,7 @@ export function bundleEs2015(inputFile, outFile, production) { ...@@ -84,6 +86,7 @@ export function bundleEs2015(inputFile, outFile, production) {
function runBundle() { function runBundle() {
console.log(inputFile);
let stream = bundler.bundle() let stream = bundler.bundle()
.on('error', function (err) { .on('error', function (err) {
console.error(err); console.error(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment