首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
广告
V2EX
›
Node.js
可以完全使用 import export 代替 require 和 module.exports 吗?
e8c47a0d
·
2018 年 3 月 7 日
· 4513 次点击
这是一个创建于 2902 天前的主题,其中的信息可能已经有所发展或是发生改变。
exports
export
import
require
2 条回复
•
2018-03-07 22:26:22 +08:00
1
flowfire
2018 年 3 月 7 日 via iPhone
可以
2
greatbody
2018 年 3 月 7 日
you can use rollup to compile you code written in ES7.
even use arrow function .
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
1914 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms ·
UTC 08:51
·
PVG 16:51
·
LAX 00:51
·
JFK 03:51
♥ Do have faith in what you're doing.
❯