I hereby claim:
- I am async3619 on github.
- I am async3619 (https://keybase.io/async3619) on keybase.
- I have a public key whose fingerprint is 4C29 10A8 2195 E485 2C3D 09C8 3098 5F71 5B2F 11B1
To claim this, I am signing this object:
| This file is used to be tracked and identified by https://lrc-maker.github.io |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE HTML> | |
| <html lang="ko"> | |
| <body> | |
| <canvas id="canvas" width="500" height="500"></canvas> | |
| <button>load image</button> | |
| <script> | |
| function loadImage(src) { | |
| return new Promise(res => { | |
| const img = new Image(); | |
| img.addEventListener("load", () => { |
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| const entries = { | |
| "#login": () => import(/* webpackChunkName: "login" */ "./login.js"), | |
| // ^^^^^ this chunk will be created as "login.js". | |
| // and then we can add dom element "#login" and import bundle.js and login.js when we want to use `Login` component. | |
| }; | |
| Object.keys(entries).some(selector => { |
| cli | |
| .version("0.0.1") | |
| .command("publish", "publish the module binary file to the server") | |
| .command("install", "download the prebuilt module binary file from the server") | |
| .option("-a, --arch <ARCHITECTURE>", "specify target architecture of module binary file") | |
| .option("-p, --platform <PLATFORM>", "specify target platform of moudle binary file") | |
| .option("-v, --version <VERSION>", "sepcify version of module binary file, default to package-specific version") | |
| .option("-e, --environment <OPTIONAL>", "specify target environment of moudle binary file, default to 'node'") | |
| .parse(process.argv); |