Make example work with webpack v5.69.1
This commit is contained in:
parent
99d1b3270d
commit
69f5cbdf64
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ $ npm install webpack webpack-cli --save-dev
|
|||
{
|
||||
"...": "...",
|
||||
"scripts": {
|
||||
"start": "webpack src/index.js --output bin/app.js -d --watch"
|
||||
"start": "webpack ./src/index.js --output-path ./bin --watch"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -75,7 +75,7 @@ m.render(document.body, "hello world");
|
|||
```html
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src="bin/app.js"></script>
|
||||
<script src="bin/main.js"></script>
|
||||
</body>
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue