Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Use compiler.webpack if available #147

Merged
merged 2 commits into from May 12, 2021
Merged

Use compiler.webpack if available #147

merged 2 commits into from May 12, 2021

Conversation

k15a
Copy link
Contributor

@k15a k15a commented May 7, 2021

This will use compiler.webpack if it is available.
Otherwise, it will fall back to require webpack lazily.
This will make the plugin compatible with NextJS 10.

Closes #141

This will use compiler.webpack if it is available.
Otherwise, it will fall back to require webpack lazily.
This will make the plugin compatible with NextJS 10.

Closes #141
@ghost
Copy link

ghost commented May 7, 2021

CLA assistant check
All CLA requirements met.

@alexdima
Copy link
Member

Thank you, looks great!

@alexdima alexdima added this to the April 2021 milestone May 12, 2021
@alexdima alexdima merged commit 21839da into microsoft:main May 12, 2021
@k15a k15a deleted the use-compiler-webpack branch May 12, 2021 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use compiler.webpack instead of require('webpack')
2 participants