diff --git a/packages/cozy-scripts/template/app/src/targets/browser/index.ejs b/packages/cozy-scripts/template/app/src/targets/browser/index.ejs index a928d644a..bbce22a67 100644 --- a/packages/cozy-scripts/template/app/src/targets/browser/index.ejs +++ b/packages/cozy-scripts/template/app/src/targets/browser/index.ejs @@ -11,13 +11,10 @@ <% _.forEach(htmlWebpackPlugin.files.css, function(file) { %> - + <% }); %> - <% if (__TARGET__ === 'mobile') { %> - - - <% } else if (__STACK_ASSETS__) { %> - {{.CozyBar}} + <% if (__STACK_ASSETS__) { %> + {{.CozyBar}} <% } %> {{.ThemeCSS}} @@ -26,5 +23,5 @@ data-cozy="{{.CozyData}}" > <% _.forEach(htmlWebpackPlugin.files.js, function(file) { %> - + <% }); %> diff --git a/packages/cozy-scripts/template/app/src/targets/mobile/DOCS.md b/packages/cozy-scripts/template/app/src/targets/mobile/DOCS.md deleted file mode 100644 index 9ac66d690..000000000 --- a/packages/cozy-scripts/template/app/src/targets/mobile/DOCS.md +++ /dev/null @@ -1,2 +0,0 @@ -# Mobile development documentation -[Cozy Docs](https://cozy.github.io/cozy-docs-v3/en/dev/cordova/) diff --git a/packages/cozy-scripts/template/app/src/targets/mobile/config.xml b/packages/cozy-scripts/template/app/src/targets/mobile/config.xml deleted file mode 100644 index e69de29bb..000000000 diff --git a/packages/cozy-scripts/test/__snapshots__/scripts.spec.js.snap b/packages/cozy-scripts/test/__snapshots__/scripts.spec.js.snap index 6a463a20f..9cf06379e 100644 --- a/packages/cozy-scripts/test/__snapshots__/scripts.spec.js.snap +++ b/packages/cozy-scripts/test/__snapshots__/scripts.spec.js.snap @@ -109,8 +109,6 @@ Array [ "src/targets/browser/index.jsx", "src/targets/browser/setupApp.jsx", "src/targets/intents/.gitkeep", - "src/targets/mobile/DOCS.md", - "src/targets/mobile/config.xml", "src/targets/vendor/assets/icon.svg", "src/targets/vendor/assets/manifest.json", "src/utils/bar.js",