import HASH slash styles

import '#/styles/globals.css';

Reading the code in https://github.com/vercel/app-playground and they're using a convention

import '#/styles/globals.css';

to import from i guess the
<root>/styles/globals.css


In the ct3a i noticed in
src/pages/index.tsx

the styles arent even imported...

So i guess three questions
  1. Where do they get imported in ct3a?
  2. How do you import with a hashtag like that?
    and
  3. With tailwind does the whole css file get included in the build? or is there a way to configure SWC to only include the classes that are getting used?
GitHub
https://app-dir.vercel.app/. Contribute to vercel/app-playground development by creating an account on GitHub.
Was this page helpful?