Skip to content

Commit

Permalink
Fix non-existing 'exports' reference causing JS error in transpiled e…
Browse files Browse the repository at this point in the history
…lementfinder code
  • Loading branch information
sarimarton committed Jun 8, 2023
1 parent 0b34d9f commit 2e8c08c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## 1.8.4

- Fix non-existing 'exports' reference causing JS error in transpiled elementfinder code.

## 1.8.3

- Remove ts-node dependency. ts-node is still used when importing .ts files from smash files, but it's not anymore a dependency to run the framework.
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "smashtest",
"version": "1.8.3",
"version": "1.8.4",
"type": "module",
"description": "smashtest",
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion src/core/utils.ts
Expand Up @@ -308,7 +308,8 @@ const compiler = tsNode.create({
transpileOnly: true,
swc: false,
compilerOptions: {
target: 'es5'
target: 'es5',
module: 'esnext'
}
});

Expand Down

0 comments on commit 2e8c08c

Please sign in to comment.