Evan Almloff
a27d4e71ed
Only compress web assets in the CLI ( #2329 )
...
* only compress web assets in the CLI
* precompressed -> pre-compressed
* only enable pre-compression in release builds
2024-04-26 00:47:04 -04:00
Miles Murgaw
05b662ee2d
fix: cli spam when build ( #2300 )
2024-04-13 18:16:13 -05:00
Evan Almloff
1b03bed20a
Provide a better error message for wasm bindgen version mismatches ( #2136 )
...
* provide a better error message for wasm bindgen version mismatches
* fix clippy
* only rerun wasm bindgen if the first run fails
* remove old logs
2024-03-26 19:08:12 -07:00
Evan Almloff
2ac4bdb673
Switch to tracing for the cli ( #2137 )
...
* switch to tracing in the dioxus-cli
* bump manganis
* fix manganis features
* only print processing assets if skip assets is disabled
* switch all logs to tracing
* switch to published version of manganis
* undo all changes to cargo.toml
* remove reference to log
2024-03-25 15:21:51 -05:00
Jonathan Kelley
25844ae9d3
Fix: make clippy happy, don't set asset dir env
2024-03-15 00:07:33 -07:00
Jonathan Kelley
bb8b4dc2fb
FIx:
...
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading
2024-03-13 02:13:37 -07:00
Jonathan Kelley
05476cad76
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-12 14:38:36 -07:00
Evan Almloff
82ab212414
don't quit serving early if builds fail
2024-03-12 16:37:20 -05:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI
2024-03-12 13:39:42 -07:00
Evan Almloff
6b84f284c9
fix manganis assets overlapping between examples
2024-03-11 17:11:52 -05:00
Evan Almloff
3270f7341a
fix manganis support for dioxus desktop
2024-02-06 11:39:30 -06:00
Andrew Voynov
ea9622a75c
fix(serve): fixed long rebuilds with dx serve
2024-02-06 00:27:45 +03:00
Andrew Voynov
48957b11d8
refactor(cli-config): modified CrateConfig struct
...
`out_dir` and `asset_dir` are now methods, because they derive from
`crate_dir` and `dioxus_config`.
2024-01-30 23:23:00 +03:00
Granville Schmidt
b372701d30
fix wording in CLI building waiting message
2024-01-17 18:13:58 -07:00
Hampus Lidin
011116b83d
Fix panic when using dev profile ( #1824 )
2024-01-13 13:07:38 -06:00
Evan Almloff
e004c1722f
set the required environment variable for manganis support
2024-01-10 11:19:51 -06:00
Evan Almloff
2cc6f2f51f
fix merge and reorganize the CLI a bit
2024-01-08 13:39:12 -06:00
Evan Almloff
23509ada9f
Merge branch 'master' into cli-config-library
2024-01-08 13:24:16 -06:00
Evan Almloff
b1de7d850c
Merge branch 'master' into intigrate-collect-assets
2024-01-04 18:44:29 -06:00
Bennett-Petzold and Evan Almloff
80a8e1f512
Add Cargo Arguments and Cross-Architecture Support ( #1777 )
...
* Add passthrough to cargo build
* Add platform_triple flag
* Add handling to bundle and serve commands
* Show full stacked error from Tauri in bundling
Previously only the top-level error was shown, giving only vague data
for debugging the build process
* Adjust bundle platform triple when cross compiling
* Rename --platform-triple to --target
* restore some deleted docs on CLI commands
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2024-01-02 15:19:29 -06:00
Evan Almloff
0914298bea
Merge branch 'intigrate-collect-assets' of https://github.com/Demonthos/dioxus into intigrate-collect-assets
2023-12-21 18:05:02 -06:00
Evan Almloff
8b125231f0
make backend and frontend builds happen in parallel
2023-12-21 18:04:35 -06:00
ealmloff
2853b16cd6
Merge branch 'DioxusLabs:master' into intigrate-collect-assets
2023-12-21 14:00:35 -06:00
xfalcon
0cb13942da
fix: command error with dx build --verbose ( #1715 )
...
error msg: cannot set both --verbose and --quiet
2023-12-13 08:30:40 -06:00
Evan Almloff
66e2c02bf7
Merge branch 'master' into intigrate-collect-assets
2023-12-08 08:49:17 -06:00
Exotik850
fc31876a57
Wasm target check before build ( #1689 )
...
* Add `rustup show` check for wasm32 target
* better place for check
* fmt
* clippy fmt
2023-12-07 12:35:16 -06:00
Jonathan Kelley
ea15c6a2eb
Merge branch 'master' into cli-config-library
2023-12-06 21:30:14 -08:00
Raul Cesar Teixeira and Raul Cesar
8149868ebc
Fixed conflict of "--verbose" and "--quiet" flags ( #1686 )
...
Co-authored-by: Raul Cesar <raul@zideco.dev >
2023-12-04 18:11:02 -06:00
Evan Almloff
532ffaa614
fix merge
2023-11-20 18:36:18 -06:00
Evan Almloff
557630c419
Merge branch 'master' into cli-config-library
2023-11-20 18:35:24 -06:00
HJin.me
ff6c7efb41
fix: tailwind.css use absolute path ( #1649 )
2023-11-19 11:22:54 -06:00
Evan Almloff
1ed66a54cc
fix cli configuration environment variable
2023-11-14 15:50:04 -06:00
Evan Almloff
06be18a591
export lazy current config
2023-11-14 15:34:06 -06:00
Evan Almloff
5dc3486c53
Merge branch 'cli-serde-default' into cli-config-library
2023-11-10 16:26:58 -06:00
ealmloff
79e3fe677f
Merge branch 'master' into cli-serde-default
2023-11-10 16:22:53 -06:00
Evan Almloff
8a2d170d96
pull out the CLI config data into a separate library
2023-11-08 12:48:25 -06:00
Falco Hirschenberger
d4e6876ff6
Silence desktop build outputs from cargo ( #1584 )
...
Silence additional disturbing output from cargo in desktop builds
2023-10-27 08:29:43 -05:00
Evan Almloff
9d19f4d204
fix clippy
2023-10-16 10:44:08 -05:00
Evan Almloff
9f729dd6de
fix clippy
2023-10-14 14:32:08 -05:00
ealmloff
a7736284c8
Merge branch 'master' into intigrate-collect-assets
2023-10-12 08:46:27 -05:00
Evan Almloff
b76f129083
Merge branch 'master' into intigrate-collect-assets
2023-10-10 09:57:16 -05:00
Marc Espín
c8c4e85e65
feat: Remove unused deps ( #1447 )
...
* feat: Reduce dioxus-cli deps
* remove more unused deps
2023-10-09 10:14:46 -05:00
Sridhar Ratnakumar
91752e7220
cli: Fix typo, resouces ( #1516 )
2023-10-04 08:20:13 -05:00
Evan Almloff
070ef6aec9
Merge branch 'master' into cli-serde-default
2023-09-17 19:00:13 -05:00
ealmloff
d5d974d5a3
Bump the dioxus-cli to 0.4.1 ( #1424 )
...
* bump the dioxus-cli version
* bump DIOXUS_CLI_VERSION constant
* Merge branch 'master' into bump-cli
2023-09-04 15:10:27 -05:00
Evan Almloff
148b35a87a
fix clippy
2023-09-04 08:42:30 -05:00
Evan Almloff
282e098086
Merge branch 'master' into intigrate-collect-assets
2023-09-04 08:42:14 -05:00
YuKun Liu and Evan Almloff
2cfa0e4ea9
fix: prettier_build unavailabe ( #1410 )
...
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2023-09-02 18:31:34 -05:00
Evan Almloff
e162e3e4cf
fix formatting
2023-08-21 16:07:49 -05:00