Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Clean unused mobile target #433

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

zatteo
Copy link
Contributor

@zatteo zatteo commented May 31, 2024

Something started but never finished ? πŸ€·β€β™‚οΈ

### ✨ Features

*

### πŸ› Bug Fixes

*

### πŸ”§ Tech

* Clean unused code

@Crash--
Copy link
Contributor

Crash-- commented May 31, 2024

Something started but never finished ? πŸ€·β€β™‚οΈ

Nop, it's part of the create-cozy-app template (https://github.com/cozy/create-cozy-app/tree/master/packages/cozy-scripts/template/app)

Copy link

bundlemon bot commented May 31, 2024

BundleMon

Unchanged files (3)
Status Path Size Limits
βœ… app/notes.(hash).js
65.17KB 70KB
βœ… intents/notes.(hash).js
46.78KB 50KB
βœ… app-notes.(hash).min.css
3.1KB 4KB

No change in files bundle size

Unchanged groups (3)
Status Path Size Limits
βœ… vendors/**
2.21MB -
βœ… app/**
65.17KB -
βœ… intents/**
47.27KB -

Final result: βœ…

View report in BundleMon website ➑️


Current branch size history | Target branch size history

Copy link
Contributor

@cballevre cballevre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice πŸ‘ we can remove also command into package.json (code)

@zatteo zatteo force-pushed the refactor/remove-cordova-related-code branch from d91807d to aef69a6 Compare June 3, 2024 08:37
@zatteo
Copy link
Contributor Author

zatteo commented Jun 3, 2024

Something started but never finished ? πŸ€·β€β™‚οΈ

Nop, it's part of the create-cozy-app template (https://github.com/cozy/create-cozy-app/tree/master/packages/cozy-scripts/template/app)

Right! I fixed it in create-cozy-app repo too (cozy/create-cozy-app#1503)

package.json Outdated
@@ -5,7 +5,6 @@
"analyze": "COZY_SCRIPTS_ANALYZER=true yarn build",
"build:browser:dev": "cs build --browser --development",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think specify browser is no longer useful now. We could keep just watch, build like in Drive

@zatteo zatteo requested a review from cballevre June 4, 2024 15:59
@zatteo zatteo force-pushed the refactor/remove-cordova-related-code branch from ce7e29f to d60bd10 Compare June 4, 2024 16:30
zatteo added 2 commits June 4, 2024 18:34
Mobile target is added automatically by create-cozy-app but was never used
on cozy-notes.
@zatteo zatteo force-pushed the refactor/remove-cordova-related-code branch from d60bd10 to 11c9c21 Compare June 4, 2024 16:34
@zatteo zatteo merged commit d2c6097 into master Jun 10, 2024
1 check passed
@zatteo zatteo deleted the refactor/remove-cordova-related-code branch June 10, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants