tsconfig absolute import improved
This commit is contained in:
1 parent
26a6eb3642
commit
73aa95b6d3
2 files changed
+5
-4
No files matched your search
@@ -4,8 +4,4 @@ module.exports = {
|
||||
APP_ARTICLES_PAGE_SIZE: 24,
|
||||
APP_CARD_DEFAULT_IMAGE: 'https://art.shlisselburg.org/static/img/main.jpg',
|
||||
},
|
||||
webpack(config) {
|
||||
config.resolve.modules.push(__dirname)
|
||||
return config;
|
||||
},
|
||||
}
|
||||
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"src/*"
|
||||
]
|
||||
},
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
|
||||
Reference in new issue
Block a user