mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Polyfill require("module") more usefully.
This commit is contained in:
2
map.json
2
map.json
@@ -13,7 +13,7 @@
|
||||
"fs": null,
|
||||
"http": "http-browserify",
|
||||
"https": "https-browserify",
|
||||
"module": null,
|
||||
"module": "../wrappers/module.js",
|
||||
"net": null,
|
||||
"os": "os-browserify/browser.js",
|
||||
"path": "path-browserify",
|
||||
|
||||
1
wrappers/module.js
Normal file
1
wrappers/module.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = module.constructor;
|
||||
Reference in New Issue
Block a user