Restructure core plugins, named exports to default export (#5592)

* use export default instead of named exports

I'm a little sad about this change, but it turns out that the order is
not guaranteed for named exports in ESM. It was the correct order in our
tests because of babel, but not in native ESM.

* update imports
This commit is contained in:
Robin Malfait 2021-09-24 18:57:01 +02:00 • committed by GitHub
parent 1ec5438448
commit c1a156639e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2030 additions and 2034 deletions

View file

@ -1,4 +1,4 @@
import * as corePlugins from '../src/corePlugins'
import corePlugins from '../src/corePlugins'
import fs from 'fs'
import path from 'path'