File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 119119 # Keep all source and /assets for building this crate
120120 sourceFilter = path : type :
121121 ( craneLib . filterCargoSources path type )
122- || ( builtins . match ".*assets/.*" path != null ) ;
122+ || ( builtins . match ".*assets/.*" path != null )
123+ || ( builtins . match ".*Dioxus.toml" path != null )
124+ || ( builtins . match ".*diesel.toml" path != null ) ;
123125 # Only keep Cargo.toml and Cargo.lock, for building dependencies
124126 manifestFilter = path : type :
125127 ( craneLib . filterCargoSources path type )
131133
132134 npmDepsHash = "sha256-HRMLzN2s0CKjHXx23MAL4EURhzHhpb6gtSsocva6q8s=" ;
133135
134- # Override the build command to generate the specific file you need
135- # Adjust 'input.css' to whatever your source css file is named
136+ # Override the build command to generate tailwind css
136137 buildPhase = ''
137138 npx @tailwindcss/cli -i tailwind.css -o tailwind_output.css
138139 '' ;
You can’t perform that action at this time.
0 commit comments