Learning webpack, error occurred when starting the local server after installing webpack

I changed the dev of scripts in package.json to "dev": "webpack-dev-server-- open", but there was no page effect.
document structure:
clipboard.png

:webpack-dev-serverdev
clipboard.png

package.json:mainjsindex.jsindex.jsdistjsbundle.jsbundle.js
clipboard.png

webpack.config.js:contentBasejsjshtmlhtmldisthtml
clipboard.png

(first contact, confused, looking forward to your reply! )

Mar.01,2021

this is not found . / src/sourceFile.js this file


change entry, to _ _ dirname/src/sourceFile.js

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be9c1f-45f33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be9c1f-45f33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?