mirror of https://github.com/webpack/webpack.git
fix: remove my example
This commit is contained in:
parent
1ff76a5bb1
commit
eeb2fd0c96
|
|
@ -1 +0,0 @@
|
|||
export const two = 2;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
export function logFoo() {
|
||||
console.log("log foo");
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
// Before transformation:
|
||||
//
|
||||
// (module
|
||||
// (import "./b" "logFoo" (func $a))
|
||||
// (import "./a" "two" (global i32))
|
||||
// (func (export "getTwo") (result i32)
|
||||
// (get_global 0)
|
||||
// )
|
||||
// (func (export "logFoo")
|
||||
// (call $a)
|
||||
// )
|
||||
// )
|
||||
//
|
||||
// ----
|
||||
//
|
||||
// After transformation:
|
||||
//
|
||||
|
||||
import("./test.wasm").then(({getTwo, logFoo}) => {
|
||||
console.log("getTwo", getTwo());
|
||||
console.log(logFoo());
|
||||
})
|
||||
Loading…
Reference in New Issue