Is there a way to get a warning/error message when imports are undefined, i.e. not declared in a file that I am importing from?
// file1.js export const var1 = 'var1' // file2.js import { var2 } from './file1' var2() // this will throw an error How to solve this issue?
I am using webpack in version 3.11.0