From 39119f88e734704b95a3bb61706a130ce8dbf565 Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Wed, 8 Nov 2017 13:35:34 -0800 Subject: [PATCH] Pass explicit options list to babel-code-frame --- packages/babel-core/src/transformation/file/file.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/babel-core/src/transformation/file/file.js b/packages/babel-core/src/transformation/file/file.js index 2c026fd2c5..f9fa1f2f5d 100644 --- a/packages/babel-core/src/transformation/file/file.js +++ b/packages/babel-core/src/transformation/file/file.js @@ -212,7 +212,9 @@ export default class File { column: loc.column + 1, }, }, - this.opts, + { + highlightCode: this.opts.highlightCode, + }, ); }