0

Hi how can I set NODE_PATH like in .env file for a netlify dev. Because I got an errors

Module not found: Can't resolve 'index.css' in '/mnt/y/projects/instagram-story-saver/src'

App is built on Create React App

nightspite
  • 101
  • 1
  • 8

1 Answers1

0

.env file does not work, but newer method does work:

in jsconfig.json:

{
  "compilerOptions": {
    "baseUrl": "src"
  },
  "include": ["src"]
}
nightspite
  • 101
  • 1
  • 8