This website requires JavaScript.
Explore
Help
Sign In
root
/
webpack
mirror of
https://github.com/webpack/webpack.git
Watch
1
Star
0
Fork
You've already forked webpack
0
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
614f2ad1f5
webpack
/
examples
/
commonjs
/
increment.js
4 lines
95 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix CRLF
2012-05-23 16:46:37 +08:00
var
add
=
require
(
'./math'
)
.
add
;
exports
.
increment
=
function
(
val
)
{
return
add
(
val
,
1
)
;
added commonjs example
2012-05-07 03:14:36 +08:00
}
;