Skip to content

Commit

Permalink
feat: Remove unused mobile target from create-cozy-app template
Browse files Browse the repository at this point in the history
  • Loading branch information
zatteo committed Jun 10, 2024
1 parent a35dcf0 commit afc7862
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
<% _.forEach(htmlWebpackPlugin.files.css, function(file) { %>
<link rel="stylesheet" href="<%- file %>">
<% }); %>
<% if (__TARGET__ === 'mobile') { %>
<meta name="format-detection" content="telephone=no">
<script src="cordova.js" defer></script>
<% } else if (__STACK_ASSETS__) { %>
<% if (__STACK_ASSETS__) { %>
{{.CozyBar}}
<% } %>
{{.ThemeCSS}}
Expand Down
2 changes: 0 additions & 2 deletions packages/cozy-scripts/template/app/src/targets/mobile/DOCS.md

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions packages/cozy-scripts/test/__snapshots__/scripts.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit afc7862

Please sign in to comment.