Skip to content

Commit 5d14f8c

Browse files
author
Harrison Ifeanyichukwu
committed
fix: keep output file extensions to always be .js for all all project file type
Output file extensions should be .js for .ts, .js, .jsx and other similar project file extensions fix #2
1 parent 9fb43e2 commit 5d14f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Bundler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class Bundler {
3939
return {
4040
input: options.src,
4141
output: {
42-
file: options.dest + (uglify? '.min' : '') + options.ext,
42+
file: options.dest + (uglify? '.min.js' : '.js'),
4343
format: options.format,
4444
name: Util.camelCase(name),
4545
interop: options.interop,

0 commit comments

Comments
 (0)