Skip to content

v10.13.0

Choose a tag to compare

@seek-oss-ci seek-oss-ci released this 27 May 00:00
· 832 commits to master since this release
4664e4d

Minor Changes

  • Add skipPackageCompatibilityCompilation option (#591)

    When running sku build, sku will compile all your external packages (node_modules) through @babel/preset-env. This is to ensure external packages satisfy the browser support policy. However, this can cause very slow builds when large packages are processed. The skipPackageCompatibilityCompilation option allows you to pass a list of trusted packages to skip this behaviour.

    Note: react & react-dom are skipped by default.

    Example:

    const config = {
      skipPackageCompatibilityCompilation: [
        '@bloat/very-large-package',
        'lodash',
      ],
    };