React TypeScript Webpack - Setup From Scratch (3/8)

Поделиться
HTML-код
  • Опубликовано: 23 мар 2021
  • ⚡️ Checkout Taskade! www.taskade.com/
    📘 Courses - learn.codevolution.dev/
    💖 Support UPI - support.codevolution.dev/
    💖 Support PayPal - www.paypal.me/Codevolution
    💾 Github - github.com/gopinav/React-Type...
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    React TypeScript Webpack - Setup From Scratch

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

  • @Codevolution
    @Codevolution  3 года назад +1

    Give Taskade a try - www.taskade.com/
    Request for 1 year free upgrade by mentioning Codevolution - www.taskade.com/contact

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

      I know Im asking the wrong place but does someone know of a trick to log back into an instagram account?
      I stupidly lost my password. I would love any tricks you can offer me

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

      I get an error for both sripts

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

      Can you please help me I am following your tutorial exactly and its not working

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

      HI, thanks for the video. one doubt I have, NODE_ENV value is coming from 'mode' value which is defined in webpack config ?

  • @user-vu9dl3vn7l
    @user-vu9dl3vn7l 2 месяца назад

    Thank you so much for this helpful tutorial! ♥

  • @Shakeel714
    @Shakeel714 3 года назад +1

    Nice explanation of react typescript webpack combination.

  • @bacon37460
    @bacon37460 3 года назад

    I liked the series so far.

  • @airshock4641
    @airshock4641 7 месяцев назад

    5:37 you can simplify:
    const { merge } = require('webpack-merge')
    const commonConfig = require('./webpack.common')
    module.exports = (envVars) => {
    const { env } = envVars
    const envConfig = require(`./webpack.${env}.js`)
    return merge(commonConfig, envConfig)
    }

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

    one tip for maybe more readable code: you can deconstruct an object as parameter in javascript. So instead of writing:
    function x( obj ) {
    const { atr } = obj;
    }
    you can do
    function x( { atr } ) {
    // use 'atr' as you need
    }

    • @kollabor8
      @kollabor8 Год назад +1

      const { merge } = require('webpack-merge');
      const commonConfig = require('./webpack.common');
      module.exports = ({ env }) => {
      const envConfig = require(`./webpack.${env}.js`);
      return merge(commonConfig, envConfig);
      };
      ..
      Looks a lot cleaner, thanks

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

    This was acutally great.

  • @carlosayalav
    @carlosayalav 3 года назад

    Thanks so much !!

  • @maymumk3618
    @maymumk3618 3 года назад

    Hi everyone, please is there any way to prevent webpack from creating a js file for my my css when i run npm build? I keep getting appcss.js !!!

  • @premjogi2138
    @premjogi2138 3 года назад

    Hello sir/everyone, Do you have any idea about signing the pdf using node js I have used node-sign pdf package but the package hasn't the solution which I am getting right now.
    Thank you!

  • @TheDEMMX
    @TheDEMMX 8 месяцев назад

    where did npx serve come from?
    Where is ti defined? How does it know what to do for react serve?

  • @joecolas
    @joecolas 3 года назад

    very good tutorial

  • @shruthigowda1377
    @shruthigowda1377 3 года назад

    just amazing

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

    how did you access 'process' in your react app, it's not defined on my end when I try to access it in my app

  • @pranavpatil5849
    @pranavpatil5849 3 года назад

    Query:
    Can same kind of env profiling b done with Nextjs projects?
    Btw this series is awesome.. thanks a ton..

  • @pogadev
    @pogadev 3 года назад +1

    Awesome serios!!! Thanks! One quick question: what do you mean by adding webpack.test.js if we have other environments? Let's say that I have SIT and UAT environments, how do you suggest handle them?

    • @Codevolution
      @Codevolution  3 года назад +1

      Just copy the test.config to sit.config and uat.config possibly and change the env variables

    • @pogadev
      @pogadev 3 года назад

      @@Codevolution yep, awesome

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

    Hi, I am facing one issue with this setup.
    Build File is not working on IE11

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

    i have issues on build, my routing is not working, it says, 404 requested path not found

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

    awesome

  • @arunnegi9505
    @arunnegi9505 3 года назад +1

    "Hey guys my name is vishwas"

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

    top

  • @malikasultanova9950
    @malikasultanova9950 3 года назад

    Can you make interview preparation course specifically for React JS and Redux