v10.13.0
Minor Changes
-
Add
skipPackageCompatibilityCompilationoption (#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. TheskipPackageCompatibilityCompilationoption allows you to pass a list of trusted packages to skip this behaviour.Note:
react&react-domare skipped by default.Example:
const config = { skipPackageCompatibilityCompilation: [ '@bloat/very-large-package', 'lodash', ], };