0.1.12 • Published 6 months ago
s1s-async-import-plugin v0.1.12
TARGET
tramsform s1sAsyncImport to import function with magic comments and
const c = s1sAsyncImport("@/components/async-component.vue")
function to
const c = ()=>{
return import(/* webpackChunkName: chunkIndex */"@/components/async-component.vue").then((res)=>res);
};
HOW TO USE
how to build
cargo build
how to test
cargo build
cargo test --package s1s_async_import_plugin --test fixture -- --show-output