//create a file with name jsconfig.json in your project { "compilerOptions": { "module": "commonjs", "target": "es6" }, "exclude": ["node_modules"] }