hyf0 / rspack-css-only-chunk-runtime-error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rspack-repro

A GitHub template for creating a Rspack minimal reproducible example.

Webpack is included for comparing the outputs.

versions

    "@rspack/cli": "nightly",
    "webpack-cli": "^5.0.1",
    "webpack": "^5.79.0",

Usages

pnpm run build would both run Webpack and Rspack with config ./config.mjs

  • Webpack will emits output in ./webpack-dist
  • Rspack will emits output in ./rspack-dist

./webpack-dist and ./rspack-dist are purposely not added to .gitignore. It is recommended to commit these files so we quickly compare the outputs.

About

License:MIT License


Languages

Language:JavaScript 97.6%Language:HTML 1.8%Language:CSS 0.6%