首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
广告
V2EX
›
Node.js
可以完全使用 import export 代替 require 和 module.exports 吗?
e8c47a0d
·
2018-03-07 16:11:05 +08:00
· 4205 次点击
这是一个创建于 2404 天前的主题,其中的信息可能已经有所发展或是发生改变。
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
·
实用小工具
·
2138 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 06:52
·
PVG 14:52
·
LAX 23:52
·
JFK 02:52
Developed with
CodeLauncher
♥ Do have faith in what you're doing.