rsnext/packages
Shu Ding a8e54e79d4
Add missing feature in next-swc (#40550)
`shake_exports` relies on `ecma_transforms_optimization`, otherwise this will be thrown if running tests:

```
error[E0433]: failed to resolve: could not find `optimization` in `transforms`
 --> crates/core/src/shake_exports.rs:7:23
  |
7 |     ecma::transforms::optimization::simplify::dce::{dce, Config as DCEConfig},
  |                       ^^^^^^^^^^^^ could not find `optimization` in `transforms`
```

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-09-15 12:58:01 +00:00
..
create-next-app v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
eslint-config-next v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
eslint-plugin-next v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-bundle-analyzer v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-codemod v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-env v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-mdx v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-plugin-storybook v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-polyfill-module v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-polyfill-nomodule v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
next-swc Add missing feature in next-swc (#40550) 2022-09-15 12:58:01 +00:00
react-dev-overlay v12.3.1-canary.2 2022-09-13 17:50:17 -07:00
react-refresh-utils v12.3.1-canary.2 2022-09-13 17:50:17 -07:00