React Webpack Babel Setup From Scatch - 2020 React.js Tutorial

Pubblicato il: 10 settembre 2020
sul canale di: LetsCode
9,058
298

How to set up a complete React JS project from scratch. Using webpack and babel. I also show you how to add additional useful loaders such as file-loaders to import images, scss loaders to use scss and compile it into scss. I also show you how to make builds for multiple environment with environment variables.

Regex used in video:
/\.(js|jsx)$/
/\.html$/
/\.(png|jpe?g|gif)$/i
/\.s[ac]ss$/i
/\.(js|jsx|ts|tsx)$/

tsconfig.json file:
{
"compilerOptions": {
"target": "es5",
"sourceMap": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": false,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "react",
"removeComments": true
}
}


Github repo: https://github.com/daryanka/webpack-b...


In questa pagina del sito puoi guardare il video online React Webpack Babel Setup From Scatch - 2020 React.js Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LetsCode 10 settembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 9,058 volte e gli è piaciuto 298 spettatori. Buona visione!