tsconfig absolute import improved

This commit is contained in:
tmshv committed 2020-09-07 00:09:46 +03:00
1 parent 26a6eb3642
commit 73aa95b6d3
2 files changed
+5 -4

No files matched your search

-4
View File
@@ -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;
},
}
+5
View File
@@ -1,6 +1,11 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
]
},
"target": "es5",
"lib": [
"dom",