如果 tsconfig.json 中的 compilerOptions 中的module 字段是 commonjs ,则配置是正确的,否则webpack 将因为错误而构建失败。发生这种情况,是因为 ts-node 不支持 ...
確定! 回上一頁