Tyler Hallada
74a205d51e
And updates the `build.rs` script so that it also builds a manifest.txt for css files.
10 lines
309 B
TypeScript
10 lines
309 B
TypeScript
import { Application } from "@hotwired/stimulus";
|
|
|
|
import LocalTimeController from "./local_time_controller";
|
|
|
|
// import CSS so it gets named with a content hash that busts caches
|
|
import "../css/styles.css";
|
|
|
|
window.Stimulus = Application.start();
|
|
window.Stimulus.register("local-time", LocalTimeController);
|