rem’s avatarrem’s Twitter Archive—№ 75,049

    1. vs code users - if I use this technique code.visualstudio.com/docs/languages/jsconfig#_using-webpack-aliases in my jsconfig.json - holding alt over the module alias path doesn't let me navigate to it (and thus doesn't have code completion for exports). Anyone know how to solve?
  1. …in reply to @rem
    Gah, finally solved. To follow and get code complete from import foo from '@lib/bar' to import src/lib/bar or anything off ./src - the jsconfig.json needs to be: { "compilerOptions": { "baseUrl": ".", "paths": { "@*": ["./src/*"], } } }