Skip to content

Commit fd2a85a

Browse files
committed
Fix gulp emit
1 parent a636e92 commit fd2a85a

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

gulp/tasks/emit.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const EMIT_PATH = './test/helpers/emit/fire.js'
88

99
const emitEvent = function(flags) {
1010
const eventName = getEventName()
11-
return gulpExeca(`node --no-warnings ${flags}${EMIT_PATH} ${eventName}`)
11+
return gulpExeca(
12+
`node -r source-map-support/register ${flags}${EMIT_PATH} ${eventName}`,
13+
)
1214
}
1315

1416
const getEventName = function() {

package-lock.json

Lines changed: 24 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
"plugin-error": "^1.0.1",
8585
"prettier": "^1.15.2",
8686
"release-it": "^8.0.1",
87-
"sinon": "^7.1.1"
87+
"sinon": "^7.1.1",
88+
"source-map-support": "^0.5.9"
8889
},
8990
"engines": {
9091
"node": ">=11.2.0"

0 commit comments

Comments
 (0)