| //! Static asset support for turbopack. | |
| //! | |
| //! Static assets are copied directly to the output folder. | |
| //! | |
| //! When imported from ES modules, they produce a thin module that simply | |
| //! exports the asset's path. | |
| //! | |
| //! When referred to from CSS assets, the reference is replaced with the asset's | |
| //! path. | |
| pub mod css; | |
| pub mod ecma; | |
| pub mod fixed; | |
| pub mod output_asset; | |
| pub fn register() { | |
| turbo_tasks::register(); | |
| turbo_tasks_fs::register(); | |
| turbopack_core::register(); | |
| turbopack_ecmascript::register(); | |
| include!(concat!(env!("OUT_DIR"), "/register.rs")); | |
| } | |