Skip to content

Commit 3d7d2c5

Browse files
committed
Fix wrong default parameter
1 parent 99f9d2f commit 3d7d2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class TranspileNodeModules {
2727
*
2828
* @param {Boolean|Array} transpile
2929
*/
30-
register(transpile) {
30+
register(transpile = true) {
3131
if (Array.isArray(transpile)) {
3232
if (!Array.isArray(this.transpileModules)) {
3333
this.transpileModules = transpile;

0 commit comments

Comments
 (0)