Skip to content

Commit

Permalink
[change] Rename the swc register module
Browse files Browse the repository at this point in the history
  • Loading branch information
HRKings committed Feb 1, 2022
1 parent ff0e408 commit 10b0c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var extensions = {
},
},
{
module: '@swc/register',
module: '@swc/register/lib/node',
register: function(hook) {
hook({
extensions: '.ts',
Expand All @@ -181,7 +181,7 @@ var extensions = {
},
},
{
module: '@swc/register',
module: '@swc/register/lib/node',
register: function(hook) {
hook({
extensions: '.tsx',
Expand Down

0 comments on commit 10b0c4f

Please sign in to comment.