From 167fe65d6c8b6c5fdb11cd2414b4a4f3cd562001 Mon Sep 17 00:00:00 2001 From: Olivier Abrard Date: Thu, 7 Oct 2021 10:21:30 +0200 Subject: [PATCH] Update snippets.json Adding an export single module snippet 'mds" --- snippets/snippets.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snippets/snippets.json b/snippets/snippets.json index 74dee93..7d5f1d4 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -39,6 +39,11 @@ "body": "module.exports = {\n\t$0\n};\n", "description": "Module exports from Common JS, node syntax at ES6" }, + "moduleExport": { + "prefix": "mds", + "body": "module.exports = ${1:moduleName};$0", + "description": "Single module exports from Common JS, node syntax at ES6" + }, "exportNamedVariable": { "prefix": "env", "body": "export const ${1:exportVariable} = ${2:localVariable};\n",