Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

joriswijlens/webpack-tree-shaking-issue

Repository files navigation

This code is meant to reproduce a webpack issue

Unfortunately the problem is quite hard to reproduce so, I had to strip the code of our production service. I tried to strip it to the bare minimum but almost every change from now on causes the error message to disappear.

Steps to reproduce

  • nvm use
  • npm i
  • npm run build
  • npm run start
  • move to other shell
  • npm run layout
  • access http://localhost:8080/template
  • open devtools console to see the error

Problem description

About

Reproducing treeshaking issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published