Skip to content

Cruelyouth

Reborn · Faith · Tech · Life

标签: npm

1 Post
10月 1, 20222022年10月1日

Node配置es6 module

未分类 0

package.json 添加

"type": "module",

启动js

node --experimental-specifier-resolution=node index.js

默认 –experimental-specifier-resolution=explicit,则必须写全文件名后缀。

Read More Read More by matt
  • Blog
  • Node.js
  • Python
  • Rust
  • Tauri
  • 前端
  • 徒步
  • 未分类
  • 资源分享
  • 部署

arguments es6 hoisting javascript node npm php react rust rust-note rust-recipe sqlite strict mode tauri typescript wordpress 优化 性能 渲染

  • BST Tauri 开发笔记(6)- 为Tauri接口注入全局变量
  • 如何阻止浏览器超出滚动的弹跳效果
  • flex-shrink 的使用
  • BST Tauri 开发笔记(5)- 自定义窗口标题栏
  • BST Tauri 开发笔记(4)- Tailwind CSS / DaisyUI
没有评论可显示。
  • github
  • codepen
  • codesandbox
  • gitee
Proudly powered by WordPress | Theme: Neel by FalguniThemes.