diff --git a/app/templates/babelrc b/app/templates/babelrc index 17ab5760..a29ac998 100644 --- a/app/templates/babelrc +++ b/app/templates/babelrc @@ -1,10 +1,5 @@ { "presets": [ - ["@babel/preset-env", { - "sourceType": "unambiguous", - "targets": { - "esmodules": true - } - }] + "@babel/preset-env" ] -} \ No newline at end of file +} diff --git a/app/templates/index.html b/app/templates/index.html index 3e418190..ed9664f8 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -116,11 +116,7 @@

'Allo, 'Allo!

<%_ } -%> - <%_ if (includeUnit) { -%> - - <%_ } else { -%> - <%_ } -%> diff --git a/app/templates/main.js b/app/templates/main.js index cb478f12..3b21d0d9 100644 --- a/app/templates/main.js +++ b/app/templates/main.js @@ -1,12 +1,4 @@ -<%_ if (includeUnit) { -%> -export function greeting() { - return '\'Allo \'Allo!'; -} - -console.log(greeting()); -<%_ } else { -%> - console.log('\'Allo \'Allo!'); -<%_ } -%> +console.log('\'Allo \'Allo!'); <%_ if (includeBootstrap) { -%> // Uncomment to enable Bootstrap tooltips