bare-module 1.10.3 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -23,6 +23,10 @@ const Module = module.exports = class Module {
|
|
|
23
23
|
return path.dirname(this.filename)
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
get importMap () {
|
|
27
|
+
return this._imports
|
|
28
|
+
}
|
|
29
|
+
|
|
26
30
|
static _context = binding.init(this, this._onimport, this._onevaluate, this._onmeta)
|
|
27
31
|
|
|
28
32
|
static _extensions = Object.create(null)
|