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