Skip to content

Commit 0dbe73f

Browse files
committedMay 14, 2019
feat: add --no-babelrc flag, fixes #189
1 parent d1a6eea commit 0dbe73f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/cli.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ cli
4141
.option('-t, --target <target>', 'Output target', { default: 'node' })
4242
.option('-c, --config <file>', 'Use a custom config file')
4343
.option('--minimal', 'Generate minimal output whenever possible')
44+
.option('--no-babelrc', 'Disable .babelrc file')
4445
.option('--banner', 'Add banner with pkg info to the bundle')
4546
.option(
4647
'--no-map',
@@ -79,7 +80,8 @@ cli
7980
banner: options.banner,
8081
babel: {
8182
asyncToPromises: options.asyncToPromises,
82-
minimal: options.minimal
83+
minimal: options.minimal,
84+
babelrc: options.babelrc
8385
}
8486
},
8587
{

0 commit comments

Comments
 (0)
Please sign in to comment.