Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
274 bytes
|
Line | |
---|
1 | var istanbulLibSourceMaps = require('istanbul-lib-source-maps')
|
---|
2 |
|
---|
3 | var cache = {}
|
---|
4 |
|
---|
5 | function get (basePath, opts) {
|
---|
6 | if (!cache[basePath]) {
|
---|
7 | cache[basePath] = istanbulLibSourceMaps.createSourceMapStore(opts)
|
---|
8 | }
|
---|
9 | return cache[basePath]
|
---|
10 | }
|
---|
11 |
|
---|
12 | module.exports = {
|
---|
13 | get: get
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.