Skip to content

[heft-web-rig] Add an "app" profile, upgrade to Webpack 5, implement new CSS rules - #3204

Merged
Pete Gonzalez (octogonz) merged 43 commits into
masterfrom
octogonz/heft-web-rig-revamp
Feb 11, 2022
Merged

Pete Gonzalez (octogonz) merged 43 commits into
masterfrom
octogonz/heft-web-rig-revamp

Conversation

@octogonz

@octogonz Pete Gonzalez (octogonz) commented Feb 4, 2022 •

Copy link
Copy Markdown
Collaborator

Summary

Update @rushstack/heft-web-rig with a bunch of new features.

Details

Related ideas that are outside the scope of this PR:

  • Replace node-sass with sass for heft-sass-plugin
  • Replace lib-commonjs with emitCjsExtensionForCommonJS
  • Enable Webpack bundling of web libraries
  • Add more profiles to @rushstack/heft-node-rig

strictPeerDependencies fix

While trying to get the various Webpack 5 plugin versions straightened out, I encountered a bunch of peer dependency issues. The strictPeerDependencies validation for this repo apparently got disabled by accident a few months ago, and a bunch of warnings accumulated in the interim. Ideally that should be solved in a separate PR with its own code review, but in the interest of time it is more efficient to solve the equation with the final set of package.json files, so I've rolled it into this PR. Sorry for the huge diff. :-)

How it was tested

The new @rushstack/heft-web-rig was prototyped in the rushstack.io-service repo.

CC Ian Clanton-Thuon (@iclanton) Elliot Nelson (@elliot-nelson) David Michon (@dmichon-msft)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants