rsnext/packages/next/build/webpack/plugins
JJ Kasper ccc8d271df
Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) (#40967)
This reverts commit 11deaaa82b.

Temporarily reverts the above commit due to breaking middleware/edge
functions once deployed.

Fixes:
https://github.com/vercel/next.js/actions/runs/3133433920/jobs/5087331787

cc @shuding @feedthejim 

```sh
[GET] /blog/first
13:56:56:61
2022-09-27T20:56:56.671Z	61d43a6a-34a1-40c0-b71f-4ae5d1918431	ERROR	/var/task/node_modules/next/dist/esm/client/router.js:1
/* global window */ import React from 'react';
                    ^^^^^^
SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1033:15)
    at Module._compile (node:internal/modules/cjs/loader:1069:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/var/task/node_modules/next/router.js:3:7)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
```
2022-09-27 15:05:40 -07:00
..
terser-webpack-plugin Set swcMinify as an attribute on terser-webpack-plugin-optimize span (#37416) 2022-06-06 15:09:33 +00:00
wellknown-errors-plugin Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
app-build-manifest-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
build-manifest-plugin.ts App Build Stats (#38884) 2022-08-10 19:31:01 +00:00
copy-file-plugin.ts use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
css-minimizer-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
flight-client-entry-plugin.ts Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) (#40967) 2022-09-27 15:05:40 -07:00
flight-manifest-plugin.ts Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) (#40967) 2022-09-27 15:05:40 -07:00
font-loader-manifest-plugin.ts Add support for font loaders (#40746) 2022-09-21 22:12:59 -07:00
font-stylesheet-gathering-plugin.ts Adding experimentalAdjustFallback feature to font optimization (#40185) 2022-09-16 14:13:21 -07:00
jsconfig-paths-plugin.ts Add handling for auto installing TypeScript deps and HMRing tsconfig (#39838) 2022-08-23 13:16:47 -05:00
middleware-plugin.ts [edge] serialize custom config to middleware-manifest (#40881) 2022-09-27 10:30:15 -07:00
mini-css-extract-plugin.ts use official mini-css-extract-plugin and experimentalUseImportModule (#24573) 2021-05-12 16:04:01 +00:00
next-drop-client-page-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
next-trace-entrypoints-plugin.ts Use realpath when emitting traced package.json (#39683) 2022-08-18 17:07:34 +01:00
nextjs-require-cache-hot-reloader.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
pages-manifest-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
profiling-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
react-loadable-plugin.ts Bypass empty pages folder for layouts (#40132) 2022-09-03 00:13:47 +00:00
serverless-plugin.ts update serverless plugin to use webpack 5 apis (#31058) 2021-11-06 01:19:25 +01:00
subresource-integrity-plugin.ts Subresource Integrity for App Directory (#39729) 2022-09-08 15:17:15 -07:00
telemetry-plugin.ts Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) (#40967) 2022-09-27 15:05:40 -07:00