hakuna-matana / hybride

Webpack config for React app and landing page (two in one)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack config for hybrid site (React app and landing page)

This config is for those sites whose main page is a static landing page, and the rest of the pages are a React application (single page application).

Technology stack

For landing page:

  • html
  • es6 modules
  • scss

For spa:

  • React
  • Typescript
  • Scss modules

Other things the webpack config does:

  • starts the dev server
  • include scss global variables and mixin
  • add fonts/jpg/png/svg
  • add favicon.ico

  • yarn install - install dependencies
  • yarn start - start dev server
  • yarn build - build for production

About

Webpack config for React app and landing page (two in one)


Languages

Language:JavaScript 74.4%Language:TypeScript 10.0%Language:CSS 8.9%Language:HTML 6.7%