Unverified Commit c2e73ead authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Enable require for swc_bundler (#31663)



## 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 `yarn lint`
parent 21cb8a1f
...@@ -74,7 +74,7 @@ impl Task for BundleTask { ...@@ -74,7 +74,7 @@ impl Task for BundleTask {
}, },
make_resolver(), make_resolver(),
swc_bundler::Config { swc_bundler::Config {
require: false, require: true,
disable_inliner: false, disable_inliner: false,
external_modules: builtins, external_modules: builtins,
module: swc_bundler::ModuleType::Es, module: swc_bundler::ModuleType::Es,
......
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