当前位置:网站首页>什么是 commonjs2
什么是 commonjs2
2022-08-02 12:56:00 【兰亭古墨】
webpack issue 的回答:https://github.com/webpack/webpack/issues/1114
CommonJs spec defines only
exports
. Butmodule.exports
is used by node.js and many other CommonJs implementations.
commonjs mean pure CommonJs
commonjs2 also includes themodule.exports
stuff.
CommonJS 只有 export
CommonJS2 有 export 和 module.export
边栏推荐
猜你喜欢
Automatically generate code generator recommendation-code-gen
不错的射击类js小游戏源码
WeChat applet getPhoneNumber interface code=40013
svg balloon rises explosion js special effect
FreeRTOS--Priority Experiment
Do you know Dijkstra of graph theory?
图论之Kruskal,最小生成树如何优雅解题?
scrapy框架初识1
How to better assess credit risk?Just watch this scorecard model live
SQL Server 数据库之生成与执行 SQL 脚本
随机推荐
PHP+MYSQL【学生信息管理系统】(极简版)
SQL Server修改数据
SQL Server 数据库之导入导出数据
你知道图论的Dijkstra吗?
Interpretation of new features | MySQL 8.0 GIPK invisible primary key
wx-wow(微信小程序动效库)
Wireless vibrating wire acquisition instrument remote modification method
RESTful 风格(详细介绍 + 案例实现)
js真3d柱状图插件
SQL Server 2019 installation error 0 x80004005 service there is no timely response to the start or control request a detailed solution
package.json与package-lock.json
Data Lake (2): What is Hudi
Object.entries()
WPF效果第一百九十三篇之登录实现
linux basic command explanation
Seata Distributed Transaction
企业用直播平台能实现什么
Name conventions in FreeRTOS
Redis全部
In-depth analysis and use of Ribbon load balancing