<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ## TypeScript - Vite 天然支持引入 .ts 文件。 - 建議在一個單獨的進程中運行 `tsc --noEmit --watch` ## JSON ``` // 導入整個對象 import json from './example.json' // 對一個根字段使用具名導入 —— 有效幫助 treeshaking! import { field } from './example.json' ``` ## WebAssembly 預編譯的`.wasm`文件可以通過`?init`來導入。默認導出一個初始化函數,返回值為所導出 wasm 實例對象的 Promise ``` import init from './example.wasm?init' init().then((instance) => { instance.exports.test() }) ``` `init`函數還可以將傳遞給`WebAssembly.instantiate`的導入對象作為其第二個參數: ``` init({ imports: { someFunc: () => { /* ... */ }, }, }).then(() => { /* ... */ }) ``` 在生產構建當中,體積小于`assetInlineLimit`的`.wasm`文件將會被內聯為 base64 字符串。否則,它們將作為資源復制到`dist`目錄中,并按需獲取
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看