Babel-plugin-module-resolver: Invalid in next.js

Created on 21 Nov 2019  路  2Comments  路  Source: tleunen/babel-plugin-module-resolver

error
image

my ..babelrc
image

my tsx
image

Most helpful comment

You might need to modify your tsconfig.json

{
  "compilerOptions": {
    ...,
    "paths": {
      "@*": [
        "src*"
      ]
    },
    ...
  }
}

All 2 comments

You might need to modify your tsconfig.json

{
  "compilerOptions": {
    ...,
    "paths": {
      "@*": [
        "src*"
      ]
    },
    ...
  }
}

You might need to modify your tsconfig.json

{
  "compilerOptions": {
    ...,
    "paths": {
      "@*": [
        "src*"
      ]
    },
    ...
  }
}

Thank you for your help, it has been resolved,I will close this issuse

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jerryslaw picture jerryslaw  路  7Comments

stavalfi picture stavalfi  路  3Comments

lsiden picture lsiden  路  8Comments

melloc01 picture melloc01  路  7Comments

WrathChaos picture WrathChaos  路  6Comments