Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/nxPublic

feat(webpack): add webpack plugin#11966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaysoo merged 1 commit intonrwl:masterfromjaysoo:feat/move-webpack
Sep 12, 2022
Merged

Conversation

jaysoo
Copy link
Member

@jaysoojaysoo commentedSep 10, 2022
edited
Loading

This PR moves webpack-specific generators and executors to the new @nrwl/webpack plugin. This change is the first step to enabling more bundlers like esbuild, vite, etc.

Changes

  • Consolidate webpack executor from web and node into@nrwl/webpack:webpack with support for babel, swc, and tsc
  • Move@nrwl/web:dev-server executor to@nrwl/webpack:dev-server
  • Add backwards-compat API for previous executors (in case anyone is using them in custom executors)
    • @nrwl/web:webpack re-exports@nrwl/webpack:webpack
    • @nrwl/webpack:dev-server re-exports@nrwl/webpack:dev-server
    • @nrwl/node:webpack invokes@nrwl/webpack:webpack withtarget: 'node'
  • Common webpack utilities in@nrwl/web are re-exported from@nrwl/webpack for backwards compatibility
  • Migrate existing usages of webpack executors to@nrwl/webpack
    • @nrwl/web:webpack replaced by@nrwl/webpack:webpack
    • @nrwl/web:dev-server replaced by@nrwl/webpack:dev-server
    • @nrwl/node:webpack replaced by@nrwl/webpack:webpack (with options{ compiler: 'tsc', target: 'node' })

tonivj5 and DaSchTour reacted with thumbs up emojipuku0x and DaSchTour reacted with rocket emoji
@nx-cloud
Copy link
Contributor

nx-cloudbot commentedSep 10, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitcadc4d1. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 12 targets

Sent with 💌 fromNxCloud.

@vercel
Copy link

vercelbot commentedSep 10, 2022
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewUpdated
nx-dev✅ Ready (Inspect)Visit PreviewSep 12, 2022 at 7:59PM (UTC)

@jaysoojaysoo marked this pull request as ready for reviewSeptember 11, 2022 01:37
@jaysoojaysooforce-pushed thefeat/move-webpack branch 3 times, most recently from1e84564 tob54c195CompareSeptember 12, 2022 17:39
@jaysoojaysooforce-pushed thefeat/move-webpack branch 2 times, most recently from8e273ad to3f19415CompareSeptember 12, 2022 18:10
@jaysoojaysooenabled auto-merge (squash)September 12, 2022 19:00
isScriptOptimizeOn,
emitDecoratorMetadata,
configuration: overrides?.configuration ?? context.configurationName,
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks like the skipTypeCheck property is missing. How to override it from executor config?

@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 17, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@MoondasMoondasMoondas left review comments

@nartcnartcnartc approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@jaysoo@Moondas@nartc

[8]ページ先頭

©2009-2025 Movatter.jp