Skip to content

5.0.0

Latest
Compare
Choose a tag to compare
@Inqnuam Inqnuam released this 01 Nov 16:53
· 1 commit to main since this release

Breaking changes

Now defineConfig reader is not including require automatically. If you are still using require to import modules, as workaround create your own require before requiring other modules.
Example:

import { createRequire } from "module";
let require = createRequire(import.meta.url);

const someModule = require("some-sync-module");

export default defineConfig({...})

Or use importwhen possible.


  • chore: drop support for old node versions
  • defineConfig bundling target is now using current node process's major version, which allows to no longer throw error on top-level await when your Node supports it.