feat(tauri) lazy loading for the no-server mode (#161)

* feat(tauri) WIP on iframe wrapper

* fix(tauri) iframe communication working

* refactor(tauri) iframe injection on all modes

* feat(event): update tauri.js injection

* fix(tauri) rework on iframe/devServer

* feat(tauri.js) use load event to notify tauri ready

* fix(cargo.lock): remove erroneous lockfile

* WIP

* remove iframe

* feat(tauri) inline assets, inject tauri.js

* fix(example) tauri init

* fix(api) load bundled asset

* chore(api) remove println

* chore(template) remove deprecated event listener

* chore(example) gitignore tauri.js

* chore(package.json) update email

* fix(tauri) embedded-server's server_url definition

* chore(api) use salt on event listener again

* chore(webpack) add eslint

* remove forward slash

* perf(tauri) do not bundle inlined assets

* chore(tauri) macros and platform only when using the updater feature

* fix(tauri) proper feature check for the loadAsset API

* chore(tauri) add "forked from" reference

* chore(example) use @tauri-apps/tauri-webpack

* fix(tauri) dev-server mode fixes

* chore(example) use tauri-webpack 0.1.3

* feat(webpack) rewrite lazy loading only on the no-server mode

* fix(no-server) lazy load images

* chore(tauri) use forked includedir_codegen

* fix deps

* fix(tauri) use the right version for includedir deps

* chore(tauri) println rerun-if-changed on dev
This commit is contained in:
Lucas Fernandes Nogueira
2019-12-17 18:39:34 -03:00
committed by nothingismagick
parent 8892a1359c
commit 1951fc88c9
35 changed files with 1174 additions and 644 deletions

View File

@@ -131,7 +131,7 @@ jobs:
run: cargo build
env:
TAURI_DIST_DIR: ../../test/fixture/dist
TAURI_CONFIG_DIR: ../test/fixture/
TAURI_DIR: ../test/fixture
- run: cargo install --path ./cli/tauri-cli --force
- name: install cli deps via yarn
run: |

View File

@@ -30,7 +30,7 @@ jobs:
cargo build
env:
TAURI_DIST_DIR: ../../test/fixture/dist
TAURI_CONFIG_DIR: ../test/fixture/
TAURI_DIR: ../test/fixture/
build-tauri-cli:
runs-on: ${{ matrix.platform }}