Home
Sign Up
Sign In
Advertisement
V2EX
›
Node.js
可以完全使用 import export 代替 require 和 module.exports 吗?
e8c47a0d
·
Mar 7, 2018
· 4975 views
This topic created in 3164 days ago, the information mentioned may be changed or developed.
exports
export
import
require
2 replies
•
2018-03-07 22:26:22 +08:00
flowfire
Mar 7, 2018 via iPhone
1
可以
greatbody
Mar 7, 2018
2
you can use rollup to compile you code written in ES7.
even use arrow function .
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
3831 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 38ms ·
UTC 05:28
·
PVG 13:28
·
LAX 21:28
·
JFK 00:28
♥ Do have faith in what you're doing.
❯