Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 467 Bytes

readme.md

File metadata and controls

23 lines (21 loc) · 467 Bytes

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