All Projects → harryheman → Webpack5-Max

harryheman / Webpack5-Max

Licence: MIT license
Webpack 5 Boilerplate for JS/React/TS apps.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to Webpack5-Max

bem-sdk
BEM SDK packages
Stars: ✭ 83 (-19.42%)
Mutual labels:  config, bundle
Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+1889.32%)
Mutual labels:  bundle, webpack5
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+118.45%)
Mutual labels:  config
parcel-plugin-externals
Parcel plugin for declaring externals. These externals will not be bundled. 📦
Stars: ✭ 47 (-54.37%)
Mutual labels:  bundle
gulp-rev-versions-bundle
A bundle that allows symfony to get the version of assets versioned with gulp-rev
Stars: ✭ 13 (-87.38%)
Mutual labels:  bundle
Winton.extensions.configuration.consul
Enables Consul to be used as a configuration source in dotnet core applications
Stars: ✭ 239 (+132.04%)
Mutual labels:  config
config utilities
Utility tools to make working with config structs for (ROS) C++ libraries more uniform, readable and convenient.
Stars: ✭ 19 (-81.55%)
Mutual labels:  config
Spring Cloud Vault
Configuration Integration with HashiCorp Vault
Stars: ✭ 210 (+103.88%)
Mutual labels:  config
dotfiles
/home/yous
Stars: ✭ 43 (-58.25%)
Mutual labels:  config
CentrifugoBundle
📦 Provides communication with web-socket server Centrifugo in Symfony applications.
Stars: ✭ 65 (-36.89%)
Mutual labels:  bundle
SensioBuzzBundle
No description or website provided.
Stars: ✭ 89 (-13.59%)
Mutual labels:  bundle
dotfiles
My NixOS configuration featuring awesome and neovim
Stars: ✭ 40 (-61.17%)
Mutual labels:  config
Webpack Config
Helps to load, extend and merge webpack configs
Stars: ✭ 244 (+136.89%)
Mutual labels:  config
ini
📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载
Stars: ✭ 72 (-30.1%)
Mutual labels:  config
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+118.45%)
Mutual labels:  config
grid-bundle
A Symfony2 Ajax Grid
Stars: ✭ 17 (-83.5%)
Mutual labels:  bundle
Environ Config
Python Application Configuration With Environment Variables
Stars: ✭ 210 (+103.88%)
Mutual labels:  config
Yay Evil Emacs
😈 A lightweight literate Emacs config with even better "better defaults". Shipped with a custom theme!
Stars: ✭ 250 (+142.72%)
Mutual labels:  config
SonataTimelineBundle
[Abandoned] Integrates SpyTimelineBundle into Sonata
Stars: ✭ 24 (-76.7%)
Mutual labels:  bundle
LiipSearchBundle
[DEPRECATED] Google XML API for searching is discontinued
Stars: ✭ 35 (-66.02%)
Mutual labels:  bundle

Webpack 5 Max (JS/React/TS)

License: MIT

logo

Webpack 5 Boilerplate for JS/React/TS apps.

🔗 Demo on CodeSandbox


Includes

  • 5 config files with all possible settings
    • common
    • common + development
    • common + production
    • common + production + pwa
    • common + production + analyze
  • React Todo App example
    • actions: add, complete, remove, edit, update
    • filters: all, active, completed
    • controls: mark all todos as completed, clear all completed todos
    • state management: useContext/useReducer
    • styling - react-bootstrap
    • type checking - prop-types
  • HTML template with all meta & link tags for SEO
    • don't forget to change values in HtmlWebpackPlugin templateParameters object
  • browserconfig.xml, robots.txt, sitemap.xml
  • service-worker & manifest.json
    • don't forget to change values in manifest.json
  • netlify.toml with all security headers

You can easily add settings for Vue or Angular components.

Vue

  • install deps
yarn add -D vue-loader vue-template-compiler
# or
npm i -D yarn vue-loader vue-template-compiler
  • add following to config/webpack/common.js
const VueLoaderPlugin = require('vue-loader/lib/plugin')

module.exports = {
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-loader'
      }
    ]
  },
  plugins: [
    new VueLoaderPlugin()
  ]
}

Angular

  • install dep
yarn add -D angular2-template-loader
# or
npm i -D angular2-template-loader
  • change following in config/webpack/common.js
{
  test: /.tsx?$/i,
  exclude: /node_modules/,
  use: [babelLoader, 'ts-loader', 'angular2-template-loader?keepUrl=true']
},

Installation

# clone repo
git clone https://github.com/harryheman/Webpack5-Max.git

# install deps
yarn
# or
npm i

Usage

Development Server

yarn start
# or
npm start

Production Bundle

yarn build
# or
npm run build

Production Bundle PWA

yarn pwa
# or
npm run pwa

Production Bundle Analyzer

yarn analyze
# or
npm run analyze

Author

Igor Agapov


License

This project is open source and available under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].