मुझे अंत में वह देव सर्वर चल रहा है और मुझे स्क्रीन पर कुछ मिलता है। मैं NPM की एक स्क्रिप्ट "शुरू" इस तरह से सेट किया हुआ: इस प्रकारवेबपैक: bundle.js नहीं मिल सकता
http://localhost:8080/bundle.js Failed to load resource: the server responded with a status of 404 (Not Found)
मेरे फ़ोल्डर सेट कर रहे हैं:
appDir
->app
->node_modules
webpack.config.js
package.json
मेरे webpack
"start": "webpack-dev-server --content-base app"
मैं कोई त्रुटि मिलती है .config.js:
module.exports = {
context: __dirname + '/app',
entry: './index.js',
output: {
path: __dirname + '/app',
filename: './bundle.js'
}
}
क्या आप बता सकते हैं कि क्या गलत है?