Webpack Config Basics - 1.Setup

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 13

  • @bmacmd
    @bmacmd 8 років тому +1

    I really can't say enough about how helpful these videos are. They really fill in a lot of blanks in both the documentation and virtually every article I've read about Webpack. Thanks!

  • @rubenj3128
    @rubenj3128 5 років тому

    Jeeez. Finally a tutorial which uses real world filestructure! Thank you.

  • @TheMisguidedTruth
    @TheMisguidedTruth 8 років тому +1

    Very helpful! Thanks for making these videos.

  • @kulaivanova1237
    @kulaivanova1237 7 років тому

    Thank you Matt. One quick question. I am trying to run a webpack project on port 80. I am using "npm run server:prod". Using webpack config file, I changed port number to 80 - i.e. something like below
    const PORT = process.env.PORT || 80;
    However, whenever I run the project using npm run server:prod, it's always running on port 8080 or 8081.
    Any thoughts on what I am doing wrong here, how can I run prod on port 80

    • @side_Seven
      @side_Seven  7 років тому

      hmm not sure, is it possible you already have something running on that port?
      also I think certain ports are restricted but I'm not entirely sure how that's all set up.

    • @kulaivanova1237
      @kulaivanova1237 7 років тому

      thank you Matthew

    • @kulaivanova1237
      @kulaivanova1237 7 років тому

      Actually I found out that I can do it by chaning package.json file. I had this below line in it
      "server:prod": "http-server dist --cors"
      so added -p 80 in it
      "server:prod": "http-server dist -p 80 --cors"

    • @side_Seven
      @side_Seven  7 років тому

      oh so wait are you using dev server or http-server?

  • @kevgi
    @kevgi 7 років тому +1

    awesome dude!

  • @hannahruan2764
    @hannahruan2764 8 років тому +1

    very helpful, thank you.

  • @shwetakesari2379
    @shwetakesari2379 5 років тому

    Your CMD is not visible.

  • @oskarhempel7050
    @oskarhempel7050 7 років тому

    helpfull , thanks!