File: sourcemaps.js.md

package info (click to toggle)
node-rollup-plugin-replace 5.0.1%2Bds%2B~2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,220 kB
  • sloc: javascript: 1,158; makefile: 10
file content (113 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Snapshot report for `test/sourcemaps.js`

The actual snapshot is saved in `sourcemaps.js.snap`.

Generated by [AVA](https://avajs.dev).

## generates sourcemaps by default

> Snapshot 1

    {
      character: 12,
      column: 12,
      line: 1,
    }

> Snapshot 2

    {
      column: 15,
      line: 1,
      name: null,
      source: 'other.js',
    }

> Snapshot 3

    {
      character: 17,
      column: 0,
      line: 3,
    }

> Snapshot 4

    {
      column: 0,
      line: 2,
      name: null,
      source: 'main.js',
    }

## generates sourcemaps if enabled in plugin

> Snapshot 1

    {
      character: 12,
      column: 12,
      line: 1,
    }

> Snapshot 2

    {
      column: 15,
      line: 1,
      name: null,
      source: 'other.js',
    }

> Snapshot 3

    {
      character: 17,
      column: 0,
      line: 3,
    }

> Snapshot 4

    {
      column: 0,
      line: 2,
      name: null,
      source: 'main.js',
    }

## generates sourcemaps if enabled in plugin (camelcase)

> Snapshot 1

    {
      character: 12,
      column: 12,
      line: 1,
    }

> Snapshot 2

    {
      column: 15,
      line: 1,
      name: null,
      source: 'other.js',
    }

> Snapshot 3

    {
      character: 17,
      column: 0,
      line: 3,
    }

> Snapshot 4

    {
      column: 0,
      line: 2,
      name: null,
      source: 'main.js',
    }