acorn 套件的引入問題


import acorn from "acorn"; 引入會有問題,需要用 import * as acorn from "acorn";

#acorn #nodejs #js #ts #TypeScript #javascript #Node






你可能感興趣的文章

匯入小工具 (1) - 談點開始寫程式前的準備

匯入小工具 (1) - 談點開始寫程式前的準備

Command Line 筆記

Command Line 筆記

給自己看的 JS 進階-Closure

給自己看的 JS 進階-Closure






留言討論