Skip to content

@pro-vision/[email protected]

Compare
Choose a tag to compare
@friewerts friewerts released this 29 Apr 07:38
· 2 commits to develop since this release
1eb82f7

5.0.0 (2024-04-29)

Build System

  • pv-scripts: update webpack dependencies (9cdae7c)

Code Refactoring

  • pv-scripts: combine all webpack-babel configs for different js file types (js,ts,jsx,tsx) (f350aa4)

Features

  • pv-scripts: add additional support for the new es decorators (584a5a6)
  • pv-scripts: add suport for bundling svg files (1a08e7d)
  • pv-scripts: add support for webpack build caching (92da961)
  • pv-scripts: choose sass implementation automatically (13abc3f)
  • pv-scripts: remove the "legacy" bundle (0a23007)
  • pv-scripts: replace using node-sass with (dart-)sass (dc9642b)

BREAKING CHANGES

  • pv-scripts: Minimum Node.js version supported by the webpack plugins is 18.12.0
  • pv-scripts: (medium-risk) svg files will automatically be boundled. check
    https://github.com/pro-vision/fe-tools/tree/master/packages/pv-scripts#svg-loading to see if you
    need to change your configuration
  • pv-scripts: (low-risk) webpack config is applied to jsx, ts and tsx files even when useTS or
    useReact are false in the pv.config.json. if you prefer to have a custom webpack config for these
    files instead, make sure to use enforce: "pre" in your custom webpack.config file
  • pv-scripts: "legacy" output is removed. only the "modern" bundle is generated, without any
    "module" or "modern" prefix. this also applies to all configurations (e.g. no
    webpack.config.module.js or no [modern] group in browserlist)
  • pv-scripts: see https://sass-lang.com/documentation/breaking-changes for migration from
    node-sass to dart-sass