<aside> 💡 import 할 때 루트 경로 사용하려면? (npm 패키지 쓰듯이)
</aside>
https://github.com/tleunen/babel-plugin-module-resolver/blob/master/DOCS.md#alias
yarn add --dev babel-plugin-module-resolver
babel.config.js (or babelrc.js)
plugins: [
[
require.resolve('babel-plugin-module-resolver'),
{
root: ['./src'],
alias: {
'webos-service': './src/main/service/webos-service',
},
},
],
]