How to generate bundle.js with react and webpack?

gandra404

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?

J.J. Hakala

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'],
    ...
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to generate bundle.js with react and webpack?

From Dev

Webpack doesn't generate bundle.js

From Dev

How to serve production react bundle.js built by webpack?

From Dev

Webpack 2: How do I generate a bundle.js from Bootstrap premade template?

From Dev

React, Webpack: bundle.js is not generated

From Dev

Using Webpack with React-router bundle.js Not Found

From Dev

Webpack / React/ Spring Boot: caching bundle.js with https

From Dev

How to exclude mobx and mobx-react from the bundle using webpack

From Java

Angular Cli Webpack, How to add or bundle external js files?

From Dev

How to have a more readable bundle.js with webpack (sourcemap)?

From Dev

How to have a more readable bundle.js with webpack (sourcemap)?

From Dev

Preloading animation for React webpack bundle

From Dev

webpack bundle.js not found

From Dev

React Js - how to keep bundle.min.js small?

From Dev

Can't get webpack require.ensure chunking method to work with react-router and generate separate bundle files

From Dev

Can't get webpack require.ensure chunking method to work with react-router and generate separate bundle files

From Dev

React webpack bundle not utf-8

From Dev

React with Webpack: PropTypes appearing in final bundle

From Dev

How can i add 'vue.js' to webpack's bundle.js

From Dev

webpack to bundle code targeting node.js

From Dev

Webpack: can't find bundle.js

From Dev

Generating bundle.js with webpack & gulp

From Dev

Webpack js bundle gets loaded but not executed

From Dev

Webpack : How to optimize the generated bundle.js? It's way too big in my case

From Dev

How to update bundle.js for static index.html page during webpack-dev-server run?

From Dev

How to update bundle.js for static index.html page during webpack-dev-server run?

From Dev

How can I use the Vue.js code from a webpack bundle in a Razor page?

From Dev

Webpack and React.js

From Dev

How to minimize the size of webpack's bundle?

Related Related

  1. 1

    How to generate bundle.js with react and webpack?

  2. 2

    Webpack doesn't generate bundle.js

  3. 3

    How to serve production react bundle.js built by webpack?

  4. 4

    Webpack 2: How do I generate a bundle.js from Bootstrap premade template?

  5. 5

    React, Webpack: bundle.js is not generated

  6. 6

    Using Webpack with React-router bundle.js Not Found

  7. 7

    Webpack / React/ Spring Boot: caching bundle.js with https

  8. 8

    How to exclude mobx and mobx-react from the bundle using webpack

  9. 9

    Angular Cli Webpack, How to add or bundle external js files?

  10. 10

    How to have a more readable bundle.js with webpack (sourcemap)?

  11. 11

    How to have a more readable bundle.js with webpack (sourcemap)?

  12. 12

    Preloading animation for React webpack bundle

  13. 13

    webpack bundle.js not found

  14. 14

    React Js - how to keep bundle.min.js small?

  15. 15

    Can't get webpack require.ensure chunking method to work with react-router and generate separate bundle files

  16. 16

    Can't get webpack require.ensure chunking method to work with react-router and generate separate bundle files

  17. 17

    React webpack bundle not utf-8

  18. 18

    React with Webpack: PropTypes appearing in final bundle

  19. 19

    How can i add 'vue.js' to webpack's bundle.js

  20. 20

    webpack to bundle code targeting node.js

  21. 21

    Webpack: can't find bundle.js

  22. 22

    Generating bundle.js with webpack & gulp

  23. 23

    Webpack js bundle gets loaded but not executed

  24. 24

    Webpack : How to optimize the generated bundle.js? It's way too big in my case

  25. 25

    How to update bundle.js for static index.html page during webpack-dev-server run?

  26. 26

    How to update bundle.js for static index.html page during webpack-dev-server run?

  27. 27

    How can I use the Vue.js code from a webpack bundle in a Razor page?

  28. 28

    Webpack and React.js

  29. 29

    How to minimize the size of webpack's bundle?

HotTag

Archive