-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Describe the bug
when i run tauri dev the styles work normally, but when i do tauri build the styles are not added to the bundle
With tauri dev
With tauri build
Reproduction
- Create new project with
create-tauri-app, select Typescript - Add
@fluentui/reactwithyarn add @fluentui/react - Add a button from fluentui, i added
PrimaryButtonandDefaultButton - run
cargo tauri devand the styles load - run
cargo tauri buildand the components appear without styles
Expected behavior
No response
Platform and versions
Operating System - Windows, version 10.0.22000 X64
Webview2 - 98.0.1108.43
Visual Studio Build Tools:
- Visual Studio Build Tools 2019
Node.js environment
Node.js - 16.14.0
@tauri-apps/cli - 1.0.0-rc.0
@tauri-apps/api - 1.0.0-rc.0
Global packages
npm - 8.3.1
pnpm - Not installed
yarn - 1.22.17
Rust environment
rustc - 1.58.1
cargo - 1.58.0
Rust environment
rustup - 1.24.3
rustc - 1.58.1
cargo - 1.58.0
toolchain - stable-x86_64-pc-windows-msvc
App directory structure
/.git
/build
/node_modules
/public
/src
/src-tauri
App
tauri.rs - 1.0.0-rc.1
build-type - bundle
CSP - default-src 'self'
distDir - ../build
devPath - http://localhost:3000/
framework - React
Note: It says Windows 10 but is Windows 11Stack trace
No response
Additional context
No response
Reactions are currently unavailable

