Unverified Commit 289edaea authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

mini-css-extract-plugin should not bundle webpack code (#28822)

parent 16d6eba1
...@@ -816,6 +816,7 @@ export async function ncc_webpack_bundle5(task, opts) { ...@@ -816,6 +816,7 @@ export async function ncc_webpack_bundle5(task, opts) {
const webpackBundlePackages = { const webpackBundlePackages = {
webpack: 'next/dist/compiled/webpack/webpack-lib', webpack: 'next/dist/compiled/webpack/webpack-lib',
'webpack/lib/NormalModule': 'next/dist/compiled/webpack/NormalModule',
} }
Object.assign(externals, webpackBundlePackages) Object.assign(externals, webpackBundlePackages)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment