-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
hi,
i'm kind of a webpack noob, so prolly doing something stupid, but when i run webpack
with the following configuration:
var HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = {
entry: 'index.js',
output: {
path: 'dist',
filename: 'index_bundle.js'
},
module: {
loaders: [
{ test: /\.scss$/, loader: 'style!css!sass' },
{ test: /\.js$/, loader: 'babel', query: {stage: 1} }
]
},
devtool: 'cheap-module-eval-source-map',
debug: true,
plugins: [new HtmlWebpackPlugin()]
}
i get:
~/g/webpack-scratch (tk/html-plugin) $ webpack
Hash: 96ac1f7bada92e7c9381
Version: webpack 1.9.10
Time: 24ms
Asset Size Chunks Chunk Names
index.html 142 bytes [emitted]
ERROR in Entry module not found: Error: Cannot resolve module 'index.js' in /Users/tony/git/webpack-scratch
here is a link to the entire project for reference...
any guidance appreciated!
best,
tony.
Metadata
Metadata
Assignees
Labels
No labels