1

I have started to play with react and soemhow get stucked. I have following code: github.com/gandra/my-lara-react-app

When I runn following code on the command-line:

npm install
webpack --config webpack.config.js

I expect to find file ./dist/bundle.js but this not happens. Any idea why?

2
  • It would be better to include that webpack.config.js here. wntry in that file is probably a typo. Commented Jul 11, 2016 at 23:01
  • :) such simple solution - tipo :) Post it as a solution I will accept it Commented Jul 11, 2016 at 23:11

1 Answer 1

2

The file mentioned in the question, webpack.config.js contains a typo wntry, which should have been entry, i.e.

module.exports = {
    entry: ['./app/main.js'],
    ...
}
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.