File tree 7 files changed +7
-7
lines changed
7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# CLI: Open Page Option (Multiple)
2
2
3
3
``` console
4
- npm run webpack-dev-server -- --open-page example1.html --open-page example2.html
4
+ npm run webpack-dev-server -- --open-target example1.html --open-target example2.html
5
5
```
6
6
7
7
Some applications may consist of multiple pages. During development it may
8
8
be useful to directly open multiple pages at the same time. The pages to open
9
- may be specified as the argument to the ` open-page ` option.
9
+ may be specified as the argument to the ` open-target ` option.
10
10
11
11
## What Should Happen
12
12
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = [
16
16
new HtmlWebpackPlugin ( {
17
17
filename : 'example1.html' ,
18
18
template : '../../.assets/layout.html' ,
19
- title : 'Open Page (Multiple) / Example / Page 1' ,
19
+ title : 'Open Target (Multiple) / Example / Page 1' ,
20
20
} ) ,
21
21
] ,
22
22
} ) ,
@@ -30,7 +30,7 @@ module.exports = [
30
30
new HtmlWebpackPlugin ( {
31
31
filename : 'example2.html' ,
32
32
template : '../../.assets/layout.html' ,
33
- title : 'Open Page (Multiple) / Example / Page 2' ,
33
+ title : 'Open Target (Multiple) / Example / Page 2' ,
34
34
} ) ,
35
35
] ,
36
36
} ,
Original file line number Diff line number Diff line change 1
1
# CLI: Open Page Option
2
2
3
3
``` console
4
- npm run webpack-dev-server -- --open-page example.html#page1
4
+ npm run webpack-dev-server -- --open-target example.html#page1
5
5
```
6
6
7
7
Some applications may consist of multiple pages. During development it may
8
8
be useful to directly open a particular page. The page to open may be specified
9
- as the argument to the ` open-page ` option.
9
+ as the argument to the ` open-target ` option.
10
10
11
11
## What Should Happen
12
12
File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = setup({
12
12
new HtmlWebpackPlugin ( {
13
13
filename : 'example.html' ,
14
14
template : '../../.assets/layout.html' ,
15
- title : 'Open Page / Example' ,
15
+ title : 'Open Target / Example' ,
16
16
} ) ,
17
17
] ,
18
18
} ) ;
You can’t perform that action at this time.
0 commit comments