@danielx/civet 0.4.38 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
- "version": "0.4.38",
3
+ "version": "0.5.1",
4
4
  "description": "CoffeeScript style syntax for TypeScript",
5
5
  "main": "dist/main.js",
6
6
  "exports": {
package/register.mjs CHANGED
@@ -31,7 +31,7 @@ export async function load(url, context, next) {
31
31
 
32
32
  // NOTE: Assuming ts-node hook follows load hook
33
33
  // NOTE: This causes .civet files to show up as .ts in ts-node error reporting (TODO: May be able to add a sourcemapping)
34
- const result = await next(url.replace(extensionsRegex, ".ts"), {
34
+ const result = await next(url.replace(extensionsRegex, ".tsx"), {
35
35
  // ts-node won't transpile unless this is module
36
36
  // can't use commonjs since we don't rewrite imports
37
37
  format: "module",