Skip to content

Commit

Permalink
fix: keep output file extensions to always be .js for all all project…
Browse files Browse the repository at this point in the history
… file type

Output file extensions should be .js for .ts, .js, .jsx and other similar project file extensions

fix #2
  • Loading branch information
teclone committed Aug 5, 2018
1 parent 9fb43e2 commit 5d14f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Bundler {
return {
input: options.src,
output: {
file: options.dest + (uglify? '.min' : '') + options.ext,
file: options.dest + (uglify? '.min.js' : '.js'),
format: options.format,
name: Util.camelCase(name),
interop: options.interop,
Expand Down

0 comments on commit 5d14f8c

Please sign in to comment.