File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
import Joi from 'joi'
2
2
3
3
const options = [
4
- 'eval' ,
5
- 'cheap-eval-source-map' ,
6
4
'cheap-source-map' ,
7
- 'cheap-module-eval-source-map' ,
5
+ 'cheap-eval-source-map' ,
6
+ 'cheap-hidden-source-map' ,
7
+ 'cheap-inline-source-map' ,
8
8
'cheap-module-source-map' ,
9
+ 'cheap-module-eval-source-map' ,
10
+ 'cheap-module-hidden-source-map' ,
11
+ 'cheap-module-inline-source-map' ,
12
+ 'eval' ,
9
13
'eval-source-map' ,
10
14
'source-map' ,
11
15
'hidden-source-map' ,
Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ const validModuleConfigs = [
5
5
{ input : 'eval' } ,
6
6
{ input : '#@eval' } ,
7
7
{ input : '#cheap-module-eval-source-map' } ,
8
+ { input : '#cheap-module-inline-source-map' } ,
8
9
{ input : 'hidden-source-map' } ,
9
10
{ input : 'inline-source-map' } ,
10
11
{ input : 'eval-source-map' } ,
11
12
{ input : 'cheap-source-map' } ,
13
+ { input : 'hidden-source-map' } ,
12
14
]
13
15
14
16
const invalidModuleConfigs = [
@@ -22,4 +24,3 @@ describe('devtool', () => {
22
24
allValid ( validModuleConfigs , schema )
23
25
allInvalid ( invalidModuleConfigs , schema )
24
26
} )
25
-
You can’t perform that action at this time.
0 commit comments