Use babel relative import path

This commit is contained in:
Peng-YM
2022-06-16 14:24:26 +08:00
parent 6bfe2700cf
commit 8fe2280232
21 changed files with 396 additions and 198 deletions

View File

@@ -10,5 +10,18 @@
"@babel/preset-env"
]
}
}
},
"plugins": [
[
"babel-plugin-relative-path-import",
{
"paths": [
{
"rootPathPrefix": "@",
"rootPathSuffix": "src"
}
]
}
]
]
}