s1s-async-import-plugin
v0.1.11
Published
tramsform s1sAsyncImport to import function with magic comments and ```js const c = s1sAsyncImport("@/components/async-component.vue") ``` function to ```rust const c = ()=>{ return import(/* webpackChunkName: chunkIndex */"@/components/async-compone
Downloads
9
Readme
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