Deprecate exporting the last import if there is no other exported component

This commit is contained in:
Olivier Goffart 2024-07-03 13:00:13 +02:00
parent 5afb9768c5
commit a0dd978f8a
10 changed files with 38 additions and 39 deletions

View file

@ -11,7 +11,7 @@ use wasm_bindgen::prelude::*;
mod wasm_backend;
slint::slint! {
import { MainWindow } from "plotter.slint";
export { MainWindow } from "plotter.slint";
}
fn pdf(x: f64, y: f64, a: f64) -> f64 {