Create a React App with TypeScript and Webpack

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 9

  • @grsamsta
    @grsamsta 2 года назад +3

    Amazing video. Please make a video on using webpack module federation with typescript react apps.

  • @cursedtrousers8735
    @cursedtrousers8735 2 года назад +1

    Hope you get your OS sorted nice

  • @lifeisbeautifu1
    @lifeisbeautifu1 Год назад

    Thank you

  • @alovesxo9581
    @alovesxo9581 2 года назад

    Definitely prefer typescript to plain JavaScript

  • @nxztxofficial
    @nxztxofficial 2 года назад

    Please make video about java sockets

  • @batm1x
    @batm1x 2 года назад +2

    When i run build I've got "The 'mode' option has not been set, webpack will fallback to 'production' for this value.
    Set 'mode' option to 'development' or 'production' to enable defaults for each environment."

    • @WittCode
      @WittCode  2 года назад

      Hey there! Did you specify the mode key in the webpack dev and production files? Also did you specify the scripts in package.json to use those webpack production and dev files with --config? npm run build should be in production mode.

    • @batm1x
      @batm1x 2 года назад

      @@WittCode Hi, sorry, my bad. I missed mode key in webpack.prod.js :) Thx!

    • @dhirajavasthi6539
      @dhirajavasthi6539 2 года назад +1

      Can you please create video on update react with webpack and typescript