You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## 1.13.0
4
+
5
+
- Fixed alternate file extensions (other than .lua, if configured) breaking module resolution and emitted require statements.
6
+
- Added experimental support for `"luaLibImport": "require-minimal"` configuration option. This will output a lualib bundle containing only the lualib functions used by your code. This might not work if you are including external tstl-generated Lua, for example from a npm package.
7
+
- Added support for the "exports" field in package.json.
8
+
- Fixed some exceptions resulting from invalid language-extensions use.
9
+
- Fixed an exception when using compound assignment (like `+=`) with array length.
10
+
3
11
## 1.12.0
4
12
5
13
- Reworked how tstl detects and rewrites `require` statements during dependency resolution. This should reduce the amount of false-positive matches of require statements: require statements in string literals or comments should no longer be detected by tstl. This means require statements in string literals or comments can survive the transpiler without causing a 'could not resolve lua sources' error or getting rewritten into nonsense.
0 commit comments