Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.

Commit a4cacc7

Browse files
committed
fix(index): missing braces
fixes easy-webpack/config-json#1
1 parent e1ac6d6 commit a4cacc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export = function typescript({options = undefined, exclude = null} = {}) {
1111
const loader = {
1212
test: /\.tsx?$/,
1313
loader: 'awesome-typescript',
14-
exclude: exclude || this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : []
14+
exclude: exclude || (this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : [])
1515
} as any
1616

1717
if (options) {

0 commit comments

Comments
 (0)