Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@anansi/webpack-config

ntucker406BSD-3-Clause21.0.10TypeScript support: included

Production ready webpack for React

webpack, webpack-config, react, fast-refresh, react-refresh, typescript, scss, css modules, sass, linaria, wyw-in-js, svg, storybook, web-workers, wasm, css in js, tree shaking, babel, jsx, ssr

readme

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

21.0.10 (2025-07-15)

🐛 Bug Fix

  • Fix profiling build react version support (9b8b62b)

21.0.9 (2025-07-13)

💅 Enhancement

  • Support React 19 prod profiling build (e3b6155)

21.0.8 (2025-06-26)

📦 Package

21.0.7 (2025-05-27)

📦 Package

21.0.6 (2025-05-15)

  • fix: React-refresh webpack plugin (51558e1)

21.0.5 (2025-05-14)

📦 Package

21.0.4 (2025-05-01)

📦 Package

21.0.3 (2025-04-23)

📦 Package

21.0.2 (2025-04-05)

📦 Package

  • Update @pmmmwh/react-refresh-webpack-plugin to ^0.5.16 (#2720) (e2d1ad8)

21.0.1 (2025-03-17)

📦 Package

21.0.0 (2025-03-12)

⚠ 💥 BREAKING CHANGES

  • webpack >= 5.61.0

📦 Package

20.0.23 (2025-02-27)

📦 Package

20.0.22 (2025-02-24)

📦 Package

20.0.21 (2025-02-23)

📦 Package

20.0.20 (2025-02-16)

📦 Package

20.0.19 (2025-02-14)

📦 Package

20.0.18 (2025-02-09)

📦 Package

20.0.17 (2025-01-25)

💅 Enhancement

  • Use set babel caller.library when building libraries (767d356)

📦 Package

20.0.16 (2024-12-29)

💅 Enhancement

  • Build to min node version supported (85e1e24)

📦 Package

20.0.15 (2024-12-20)

📦 Package

20.0.14 (2024-12-17)

📦 Package

20.0.13 (2024-12-08)

🐛 Bug Fix

  • Compatibility with newer sass (57599c3)
  • Server builds should embed library includes (8d444a8)

20.0.12 (2024-12-06)

📦 Package

20.0.11 (2024-11-24)

📦 Package

20.0.10 (2024-11-09)

📦 Package

20.0.9 (2024-10-26)

📦 Package

20.0.8 (2024-10-22)

📦 Package

20.0.7 (2024-10-18)

📦 Package

20.0.6 (2024-10-11)

📦 Package

20.0.5 (2024-10-09)

📦 Package

20.0.4 (2024-09-25)

📦 Package

20.0.3 (2024-09-13)

📦 Package

20.0.2 (2024-09-06)

💅 Enhancement

  • Robustness when loading webpack config for jest (3cbb080)

📦 Package

20.0.1 (2024-08-24)

📦 Package

20.0.0 (2024-08-05)

⚠ 💥 BREAKING CHANGES

  • node-sass is no longer supported. use sass or sass-embedded

🚀 Features

  • Drop support for node-sass pkg for sass (efd5cf6)

💅 Enhancement

  • Dev server automatically works with codesandbox (029c83c)

📦 Package

19.1.0 (2024-07-28)

🚀 Features

💅 Enhancement

  • Ensure we use legacy sass options to keep compatibility (488f092)

🐛 Bug Fix

  • Import css-modules as named (acb279c)

📦 Package

📝 Documentation

  • Recommend sass-embedded instead of node-sass (fbfcd03)

19.0.11 (2024-07-13)

📦 Package

19.0.10 (2024-07-13)

📦 Package

19.0.9 (2024-06-14)

💅 Enhancement

  • Support any react-refresh version (b34da24)

19.0.8 (2024-06-12)

💅 Enhancement

19.0.7 (2024-06-11)

💅 Enhancement

  • React 18+ has jsx runtime for ssr too (9ac724c)

📦 Package

19.0.6 (2024-05-25)

📦 Package

19.0.5 (2024-04-28)

📦 Package

  • Update @pmmmwh/react-refresh-webpack-plugin to ^0.5.13 (#2395) (9036d88)
  • Update all non-major dependencies (#2397) (a033f61)

19.0.4 (2024-04-26)

📦 Package

19.0.3 (2024-04-20)

📦 Package

19.0.2 (2024-04-17)

📦 Package

19.0.1 (2024-04-16)

📦 Package

19.0.0 (2024-04-08)

⚠ 💥 BREAKING CHANGES

  • The cssModulesOptions.namedExport option is true by default if you enable the cssModulesOptions.esModule option

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

📦 Package

18.1.2 (2024-03-30)

📦 Package

18.1.1 (2024-03-20)

🐛 Bug Fix

  • Generated storybook config (86164fe)

📦 Package

18.1.0 (2024-03-13)

🚀 Features

18.0.12 (2024-03-08)

📦 Package

18.0.11 (2024-03-01)

📦 Package

18.0.10 (2024-02-29)

📦 Package

18.0.9 (2024-02-21)

📦 Package

18.0.8 (2024-02-13)

💅 Enhancement

  • Drop support for storybook rc (only final versions) (7f8b68d)

📦 Package

  • Make @wyw-in-js/webpack-loader match a range ^ (b0d4e10)

18.0.7 (2024-02-12)

📦 Package

18.0.6 (2024-02-08)

📦 Package

18.0.5 (2024-02-04)

📦 Package

18.0.4 (2024-01-31)

📦 Package

18.0.3 (2024-01-26)

💅 Enhancement

  • Add types to wyw in js options (247b61d)

📦 Package

  • Update @wyw-in-js/webpack-loader to v0.3.0 (#2297) (8989e6a)
  • Update all non-major dependencies (57dbf3c)

18.0.2 (2024-01-19)

Note: Version bump only for package @anansi/webpack-config

18.0.1 (2024-01-19)

📦 Package

18.0.0 (2024-01-17)

⚠ 💥 BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0

📦 Package

17.0.5 (2024-01-12)

📦 Package

17.0.4 (2023-12-30)

📦 Package

17.0.3 (2023-12-21)

📦 Package

17.0.2 (2023-12-13)

🐛 Bug Fix

  • Storybook builds by not running full loader on storybook virtual files (#2260) (5a345a6)

17.0.1 (2023-12-12)

📦 Package

17.0.0 (2023-12-09)

⚠ 💥 BREAKING CHANGES

  • Drop support for linaria 5 linariaOptions -> inJSOptions

🚀 Features

  • Use wyw-in-js to support linaria 6 (09e6fcc)

📦 Package

16.0.10 (2023-12-04)

📦 Package

16.0.9 (2023-11-30)

📦 Package

16.0.8 (2023-11-19)

📦 Package

16.0.7 (2023-11-18)

📦 Package

16.0.6 (2023-11-10)

📦 Package

16.0.5 (2023-10-28)

📦 Package

16.0.4 (2023-10-15)

📦 Package

16.0.3 (2023-10-08)

📦 Package

16.0.2 (2023-09-28)

📦 Package

16.0.1 (2023-09-26)

📦 Package

16.0.0 (2023-09-23)

⚠ 💥 BREAKING CHANGES

  • Requires @linaria/babel-preset peerDep as v5

📦 Package

15.0.35 (2023-09-15)

📦 Package

15.0.34 (2023-09-04)

📦 Package

15.0.33 (2023-08-30)

📦 Package

15.0.32 (2023-08-27)

📦 Package

15.0.31 (2023-07-29)

🐛 Bug Fix

15.0.30 (2023-07-26)

📦 Package

15.0.29 (2023-07-23)

📦 Package

15.0.28 (2023-07-14)

📦 Package

15.0.27 (2023-07-11)

📦 Package

15.0.26 (2023-07-06)

📦 Package

15.0.25 (2023-07-04)

📦 Package

15.0.24 (2023-06-29)

📦 Package

15.0.23 (2023-06-18)

📦 Package

15.0.22 (2023-06-11)

📦 Package

15.0.21 (2023-06-08)

📦 Package

15.0.20 (2023-06-02)

📦 Package

15.0.19 (2023-06-01)

📦 Package

15.0.18 (2023-05-27)

📦 Package

15.0.17 (2023-05-24)

📦 Package

15.0.16 (2023-05-19)

📦 Package

15.0.15 (2023-05-17)

📦 Package

15.0.14 (2023-05-09)

📦 Package

15.0.13 (2023-05-07)

📦 Package

15.0.12 (2023-04-29)

📦 Package

15.0.11 (2023-04-25)

📦 Package

15.0.10 (2023-04-19)

📦 Package

15.0.9 (2023-04-16)

📦 Package

15.0.8 (2023-04-11)

📦 Package

15.0.7 (2023-04-05)

📦 Package

15.0.6 (2023-04-04)

📦 Package

15.0.5 (2023-04-03)

📦 Package

15.0.4 (2023-03-31)

📦 Package

15.0.3 (2023-03-28)

📦 Package

15.0.2 (2023-03-27)

Note: Version bump only for package @anansi/webpack-config

15.0.1 (2023-03-26)

📦 Package

15.0.0 (2023-03-24)

⚠ 💥 BREAKING CHANGES

📦 Package

14.3.10 (2023-03-21)

📦 Package

14.3.9 (2023-03-18)

Note: Version bump only for package @anansi/webpack-config

14.3.8 (2023-03-18)

💅 Enhancement

  • Document new worker recommendation (f6a8508)
  • Update worker types (6997bb0)

📦 Package

14.3.7 (2023-03-15)

📦 Package

14.3.6 (2023-03-13)

📦 Package

14.3.5 (2023-03-09)

📦 Package

14.3.4 (2023-03-05)

📦 Package

14.3.3 (2023-02-28)

Note: Version bump only for package @anansi/webpack-config

14.3.2 (2023-02-28)

Note: Version bump only for package @anansi/webpack-config

14.3.1 (2023-02-28)

🐛 Bug Fix

  • Don't bundle react with commonjs bundles (941f078)

14.3.0 (2023-02-28)

🚀 Features

  • We support node 12+ therefore, dynamicImports (be1a608)

💅 Enhancement

  • Remove redundant config (5d22f59)

14.2.1 (2023-02-26)

🐛 Bug Fix

  • Exclude externals when library option is specified (c951e51)

14.2.0 (2023-02-26)

🚀 Features

📦 Package

14.1.5 (2023-02-14)

💅 Enhancement

  • Don't mangle class names by default (a92c53e)

📦 Package

  • Update webpack-bundle-analyzer to ^4.8.0 (#1849) (55be6f2)

14.1.4 (2023-02-10)

🐛 Bug Fix

14.1.3 (2023-02-09)

💅 Enhancement

  • Add support for tsconfig 'nodenext' | 'node16' (32bd97b)

📦 Package

14.1.2 (2023-01-29)

📦 Package

14.1.1 (2023-01-22)

📦 Package

14.1.0 (2023-01-18)

🚀 Features

  • Add option cssExtractOptions to control MiniCssExtractPlugin (#1810) (15525db)

📦 Package

14.0.7 (2023-01-07)

📦 Package

14.0.6 (2023-01-05)

📦 Package

14.0.5 (2022-12-22)

📦 Package

14.0.4 (2022-12-17)

📦 Package

14.0.3 (2022-12-06)

📦 Package

14.0.2 (2022-12-02)

💅 Enhancement

  • Switch back to @babel/runtime (5bc1a67)

14.0.1 (2022-12-02)

💅 Enhancement

  • Use @babel/runtime-corejs3 (00f0118)

📦 Package

14.0.0 (2022-11-23)

⚠ 💥 BREAKING CHANGES

  • Install 'sass' package yourself

💅 Enhancement

  • Don't auto-include sass package (5a91398)

13.0.27 (2022-11-17)

📦 Package

13.0.26 (2022-11-15)

📦 Package

13.0.25 (2022-11-10)

📦 Package

13.0.24 (2022-11-06)

📦 Package

13.0.23 (2022-11-03)

📦 Package

13.0.22 (2022-10-27)

📦 Package

13.0.21 (2022-10-26)

📦 Package

13.0.20 (2022-10-21)

📦 Package

13.0.19 (2022-10-19)

💅 Enhancement

🐛 Bug Fix

📦 Package

13.0.18 (2022-10-15)

📦 Package

13.0.17 (2022-10-10)

📦 Package

  • Update @pmmmwh/react-refresh-webpack-plugin to ^0.5.8 (#1693) (8048f91)

13.0.16 (2022-10-07)

📦 Package

13.0.15 (2022-09-30)

📦 Package

13.0.14 (2022-09-29)

📦 Package

13.0.13 (2022-09-25)

📦 Package

13.0.12 (2022-09-17)

🐛 Bug Fix

  • Add @types/react as optional peerDep (c30c36c)
  • types: Update svg types for recent react type deprecations (cbc3ade)

📦 Package

13.0.11 (2022-09-14)

📦 Package

13.0.10 (2022-09-14)

📦 Package

13.0.9 (2022-09-08)

📦 Package

13.0.8 (2022-09-06)

📦 Package

13.0.7 (2022-08-31)

📦 Package

13.0.6 (2022-08-25)

📦 Package

13.0.5 (2022-08-21)

📦 Package

13.0.4 (2022-08-13)

📦 Package

13.0.3 (2022-08-04)

💅 Enhancement

  • Node 16+18 compat + perf improvement (8608e1d)

📦 Package

13.0.2 (2022-08-01)

📦 Package

13.0.1 (2022-07-30)

📦 Package

13.0.0 (2022-07-28)

⚠ 💥 BREAKING CHANGES

  • Require Linaria 4

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathaniel Tucker me@ntucker.me

📦 Package

12.0.3 (2022-07-26)

Note: Version bump only for package @anansi/webpack-config

12.0.2 (2022-07-23)

📦 Package

  • @svgr/webpack, sass, core-js-compat, ts-jest, rest-hooks (#1588) (2fb6d6a)
  • Remove critters until it is compatible (5969f04)

12.0.1 (2022-07-19)

📦 Package

12.0.0 (2022-07-16)

⚠ 💥 BREAKING CHANGES

  • minimum supported Node.js version is 14.15.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

📦 Package

11.6.8 (2022-07-08)

🐛 Bug Fix

  • Allow importing directly from global style dir (d05106b)

11.6.7 (2022-06-29)

📦 Package

11.6.6 (2022-06-23)

📦 Package

11.6.5 (2022-06-15)

📦 Package

11.6.4 (2022-06-09)

📦 Package

11.6.3 (2022-05-29)

Note: Version bump only for package @anansi/webpack-config

11.6.2 (2022-05-29)

Note: Version bump only for package @anansi/webpack-config

11.6.1 (2022-05-28)

💅 Enhancement

  • Exclude minicssextract for node builds (1fdd03c)

🐛 Bug Fix

  • Repeat compiles in watchmode (3a08fcd)

11.6.0 (2022-05-28)

🚀 Features

🐛 Bug Fix

  • Disable lazyCompilation due to compat issues with SSR (c5618da)

📦 Package

11.5.3 (2022-05-24)

📦 Package

11.5.2 (2022-05-21)

🐛 Bug Fix

  • Dev compilation in stackblitz (10f9235)

11.5.1 (2022-05-20)

💅 Enhancement

  • Use lazy-compilation in dev mode for faster build times (#1513) (1dcbf4e)

📦 Package

11.5.0 (2022-05-18)

🚀 Features

11.4.3 (2022-05-18)

Note: Version bump only for package @anansi/webpack-config

11.4.2 (2022-05-18)

Note: Version bump only for package @anansi/webpack-config

11.4.1 (2022-05-18)

🐛 Bug Fix

11.4.0 (2022-05-17)

🚀 Features

  • SSR uses webpack devserver and responds to code changes (#1504) (25803a5)

📦 Package

11.3.12 (2022-05-04)

📦 Package

11.3.11 (2022-04-30)

💅 Enhancement

  • Switch back to mainstream linaria loader (#1483) (7a014fb)

📦 Package

11.3.10 (2022-04-22)

📦 Package

📝 Documentation

  • Improve monorepo configuration example (3f27ae3)

11.3.9 (2022-04-16)

📦 Package

11.3.8 (2022-04-08)

📦 Package

11.3.7 (2022-04-04)

📦 Package

  • Update @pmmmwh/react-refresh-webpack-plugin to ^0.5.5 (#1457) (14dcbff)

11.3.6 (2022-04-02)

📦 Package

11.3.5 (2022-03-30)

🐛 Bug Fix

  • Storybook works with all cache configs (a7c419e)

📦 Package

11.3.4 (2022-03-22)

🐛 Bug Fix

  • Process css files in .storybook dir (d806928)

11.3.3 (2022-03-20)

💅 Enhancement

  • Split chunks async-only by default (36cc19b)

🐛 Bug Fix

  • linaria hot-reloading (3d26586)
  • Still need resolve options sent to linaria (3d638cc)

📦 Package

11.3.2 (2022-03-09)

🐛 Bug Fix

  • linaria hot-reloading (3d26586)
  • Still need resolve options sent to linaria (3d638cc)

📦 Package

11.3.1 (2022-02-28)

💅 Enhancement

  • Support late process.env.WEBPACK_PUBLIC_PATH setting (6789637)

🐛 Bug Fix

  • Do not include hot reloading in node builds (9e9f5b3)
  • React SSR Doesn't like the new JSX runtime (65bb1f1)

11.3.0 (2022-02-21)

🚀 Features

📦 Package

11.2.4 (2022-02-16)

💅 Enhancement

📦 Package

11.2.3 (2022-02-14)

💅 Enhancement

  • Use yarn2 if corepack is enabled (53abc42)

11.2.2 (2022-02-12)

💅 Enhancement

  • Graceful fallback to http if cert cannot be found (f37c13a)

11.2.1 (2022-02-12)

🐛 Bug Fix

11.2.0 (2022-02-12)

🚀 Features

  • WEBPACK_CACHE allows full cache type control (450349f)

💅 Enhancement

  • Move linaria cache to node_modules/.cache (60aaad0)
  • Use default cache directories (85b20ee)

🐛 Bug Fix

11.1.6 (2022-02-11)

🐛 Bug Fix

  • Add back default extensions explicitly for compatibility with linaria (c5837cd)
  • Linaria uses anansi resolution rules when using JS variables (16ab5cb)

11.1.5 (2022-02-09)

🐛 Bug Fix

  • Linaria works with svg urls (#1388) (8d24f56)
  • Make svg naming consistent between svgr and non-svgr (9828b17)

📦 Package

  • bump @babel/runtime from 7.17.0 to 7.17.2 (#1386) (6b2fe59)

11.1.4 (2022-02-07)

📦 Package

11.1.3 (2022-02-07)

🐛 Bug Fix

  • Fixed output name does not work with runtime entry (3ab8c2f)

11.1.2 (2022-02-07)

🐛 Bug Fix

11.1.1 (2022-02-06)

💅 Enhancement

  • No longer use deprecated onBeforeSetupMiddleware (76c630e)
  • Use http2 when SSL is enabled (eef2053)

🐛 Bug Fix

  • Still allow globalStyleDir when sass is disabled (35ef93e)

11.1.0 (2022-02-06)

⚠ 💥 BREAKING CHANGES

  • Importing scss file requires including the file extension

🚀 Features

💅 Enhancement

  • Expand webpack dev server header allowances (3c7fe81)
  • Ignore watching cache directories (49676e2)
  • Only support TypeScript and default webpack extensions (#1371) (2ca7bd2)

🐛 Bug Fix

  • Some cases of hot reloading broke (86cbf12)

11.0.0 (2022-02-06)

⚠ 💥 BREAKING CHANGES

🐛 Bug Fix

  • Storybook integration (after threadloader update) (8fd07cd)

📦 Package

  • Switch from node-sass to dart-sass (31717cd)

10.0.9 (2022-02-06)

💅 Enhancement

  • Don't hash files in development (5c7fea7)
  • Improve rebuilds by keeping entry chunk tiny in devmode (d73a5c8)
  • Improve worker pool performance due to node-sass bug (c00ffe3)
  • Remove more expensive webpack operations in devmode (f23b763)
  • Remove pathinfo in dev mode to reduce GC pressure (1162713)
  • Speed up incrmeental builds (86f4c34)

10.0.8 (2022-02-05)

🐛 Bug Fix

  • Include error overlay so newer buggy version isn't used (c372399)

📦 Package

  • bump postcss-preset-env from 7.3.0 to 7.3.1 (#1367) (b629e08)

10.0.7 (2022-02-03)

Note: Version bump only for package @anansi/webpack-config

10.0.6 (2022-02-03)

🐛 Bug Fix

  • Compile error overlay dismiss when hot reload previously already occured (ab34089)

📦 Package

10.0.5 (2022-02-03)

Note: Version bump only for package @anansi/webpack-config

10.0.4 (2022-02-02)

🐛 Bug Fix

  • Fixed compiler errors should dismiss overlay (7a07b80)

📦 Package

  • bump @svgr/webpack from 6.2.0 to 6.2.1 (#1349) (de0c01d)
  • bump core-js from 3.20.3 to 3.21.0 (#1356) (6bee03a)
  • bump postcss from 8.4.5 to 8.4.6 (#1355) (72d8f84)
  • bump postcss-preset-env from 7.2.3 to 7.3.0 (#1343) (257403d)
  • bump terser-webpack-plugin from 5.3.0 to 5.3.1 (#1350) (525a3a8)
  • bump webpack-remove-empty-scripts from 0.7.2 to 0.7.3 (#1347) (f4ca92d)

10.0.3 (2022-01-28)

📦 Package

  • bump markdown-loader from 6.0.0 to 8.0.0 (#1330) (bbc4f95)
  • bump mini-css-extract-plugin from 2.5.2 to 2.5.3 (#1318) (ebbd190)

10.0.2 (2022-01-21)

📦 Package

  • bump core-js from 3.20.2 to 3.20.3 (#1280) (31e90e5)
  • bump css-minimizer-webpack-plugin from 3.3.1 to 3.4.1 (#1293) (9f3580e)
  • bump mini-css-extract-plugin from 2.4.6 to 2.4.7 (#1272) (2ea9c58)
  • bump mini-css-extract-plugin from 2.5.0 to 2.5.2 (#1294) (e021377)
  • bump postcss-preset-env from 7.2.0 to 7.2.3 (#1269) (28e32ec)
  • bump ramda from 0.27.2 to 0.28.0 (#1291) (ea99455)
  • mini-css-extract-plugin, ts-jest, rollup (#1277) (264419a)

10.0.1 (2022-01-12)

📦 Package

10.0.0 (2022-01-06)

⚠ 💥 BREAKING CHANGES

  • svgr uses SVGO 2 config

Bumps @svgr/webpack from 5.5.0 to 6.1.2.

💅 Enhancement

  • Improve prod scss extraction (5b1aee6)
  • Use fallback instead of alias for node polyfills (1c4424c)

🐛 Bug Fix

📦 Package

  • @linaria/webpack-loader fixed to beta.14 until it is fixed (a45720c)
  • bump @babel/runtime from 7.16.5 to 7.16.7 (#1220) (d787e69)
  • bump @pmmmwh/react-refresh-webpack-plugin from 0.5.3 to 0.5.4 (#1172) (7c43245)
  • bump @svgr/webpack from 5.5.0 to 6.1.2 (#1156) (79ba411)
  • bump autoprefixer from 10.4.0 to 10.4.1 (#1205) (df3e619)
  • bump core-js from 3.19.1 to 3.20.0 (#1176) (accbfa7)
  • bump core-js from 3.20.0 to 3.20.1 (#1191) (0714c8f)
  • bump core-js from 3.20.1 to 3.20.2 (#1231) (09fa118)
  • bump critters-webpack-plugin from 3.0.1 to 3.0.2 (#1241) (e1ba6d4)
  • bump css-minimizer-webpack-plugin from 3.3.0 to 3.3.1 (#1180) (6a00dbe)
  • bump node-sass from 6.0.1 to 7.0.0 (#1177) (e44b509)
  • bump node-sass from 7.0.0 to 7.0.1 (#1195) (2fb97c8)
  • bump postcss-preset-env from 7.0.2 to 7.1.0 (#1183) (0ca3337)
  • bump postcss-preset-env from 7.1.0 to 7.2.0 (#1229) (a8e98ce)
  • bump react-dev-utils from 11.0.4 to 12.0.0 (#1162) (3179b63)
  • linaria to 3-beta.17 (#1159) (c808566)

9.3.0 (2021-12-19)

🚀 Features

📦 Package

  • bump css-minimizer-webpack-plugin from 3.1.4 to 3.2.0 (#1120) (147e874)
  • bump postcss from 8.3.11 to 8.4.1 (#1123) (480b8fd)
  • bump postcss from 8.4.1 to 8.4.3 (#1129) (8f1f25f)
  • bump postcss-loader from 6.2.0 to 6.2.1 (#1128) (987ed55)
  • css-minimizer-webpack-plugin, sass-loader (7c3c154)

9.2.0 (2021-11-21)

🚀 Features

  • Use CrittersPlugin again (757e38c)

🐛 Bug Fix

  • Prod build css; class properties for modern targets (637a405)

📦 Package

  • bump @babel/runtime from 7.15.4 to 7.16.0 (#1044) (7e4e3cd)
  • bump @babel/runtime from 7.16.0 to 7.16.3 (#1079) (7508841)
  • bump autoprefixer from 10.3.7 to 10.4.0 (#1038) (6792e5a)
  • bump babel-loader from 8.2.2 to 8.2.3 (#1018) (e24d649)
  • bump core-js from 3.18.3 to 3.19.0 (#1030) (657795c)
  • bump core-js from 3.19.0 to 3.19.1 (#1066) (f82521f)
  • bump css-loader from 6.4.0 to 6.5.0 (#1035) (78639d9)
  • bump css-loader from 6.5.0 to 6.5.1 (#1069) (2ee7415)
  • bump css-minimizer-webpack-plugin from 3.1.1 to 3.1.2 (#1077) (ee5f637)
  • bump css-minimizer-webpack-plugin from 3.1.2 to 3.1.3 (#1086) (7cd35da)
  • bump css-minimizer-webpack-plugin from 3.1.3 to 3.1.4 (#1102) (12f244e)
  • bump html-loader from 2.1.2 to 3.0.0 (#1020) (0b42f85)
  • bump html-loader from 3.0.0 to 3.0.1 (#1067) (0cd60c1)
  • bump html-webpack-plugin from 5.4.0 to 5.5.0 (#1028) (44881c9)
  • bump mini-css-extract-plugin from 2.4.2 to 2.4.3 (#1016) (8b82f2f)
  • bump mini-css-extract-plugin from 2.4.3 to 2.4.4 (#1072) (942cc25)
  • bump mini-css-extract-plugin from 2.4.4 to 2.4.5 (#1104) (5185410)
  • bump postcss from 8.3.10 to 8.3.11 (#1019) (fba6b06)
  • bump postcss from 8.3.9 to 8.3.10 (#1013) (ad7ab21)
  • bump postcss-preset-env from 6.7.0 to 7.0.1 (#1108) (a7f9117)
  • bump sass-loader from 12.2.0 to 12.3.0 (#1036) (5503d91)
  • bump svgo from 2.7.0 to 2.8.0 (#1065) (ecae554)
  • bump tsconfig-paths-webpack-plugin from 3.5.1 to 3.5.2 (#1093) (07b57a8)

9.1.3 (2021-10-19)

Note: Version bump only for package @anansi/webpack-config

9.1.2 (2021-10-18)

🐛 Bug Fix

📦 Package

  • bump html-webpack-plugin from 5.3.2 to 5.4.0 (#998) (7891a0a)

9.1.1 (2021-10-14)

🐛 Bug Fix

  • Worker modules should follow nohash name rules (53d17ff)

📦 Package

  • bump autoprefixer from 10.3.4 to 10.3.5 (#896) (9ddc17c)
  • bump autoprefixer from 10.3.5 to 10.3.6 (#903) (8cf22a4)
  • bump autoprefixer from 10.3.6 to 10.3.7 (#930) (abec784)
  • bump core-js from 3.17.3 to 3.18.0 (#883) (8c1f252)
  • bump core-js from 3.18.0 to 3.18.1 (#911) (7d63887)
  • bump core-js from 3.18.1 to 3.18.2 (#941) (b52355a)
  • bump core-js from 3.18.2 to 3.18.3 (#969) (fc79210)
  • bump css-minimizer-webpack-plugin from 3.0.2 to 3.1.0 (#932) (fdf07a7)
  • bump css-minimizer-webpack-plugin from 3.1.0 to 3.1.1 (#939) (99043cf)
  • bump mini-css-extract-plugin from 2.3.0 to 2.4.1 (#940) (f675c6a)
  • bump mini-css-extract-plugin from 2.4.1 to 2.4.2 (#960) (fcd5dcf)
  • bump postcss from 8.3.6 to 8.3.7 (#894) (13d4266)
  • bump postcss from 8.3.7 to 8.3.8 (#901) (8d62808)
  • bump postcss from 8.3.8 to 8.3.9 (#935) (3d4eae9)
  • bump postcss-loader from 6.1.1 to 6.2.0 (#984) (5b28bb5)
  • bump sass-loader from 12.1.0 to 12.2.0 (#980) (130de56)
  • bump svgo from 2.6.1 to 2.7.0 (#897) (ddad4ef)
  • bump webpack-bundle-analyzer from 4.4.2 to 4.5.0 (#977) (b795b66)

9.1.0 (2021-09-17)

🚀 Features

  • Add WEBPACK_NO_CACHE env & vary cache for storybook (8d69ede)

💅 Enhancement

  • Don't compile linaria-cache (1d578f5)
  • Show errors for children modules (26a43f1)
  • Use 'oneOf' for loader rules (bcd7f2d)
  • Vary cache by hot reload env (71f98d9)

📦 Package

  • bump @pmmmwh/react-refresh-webpack-plugin from 0.5.0 to 0.5.1 (#874) (68e3e5d)
  • bump svgo from 2.6.0 to 2.6.1 (#875) (2b13cc7)

9.0.7 (2021-09-15)

📦 Package

  • @pmmmwh/react-refresh-webpack-plugin 0.5.0 final (379854c)
  • bump @linaria/webpack-loader from 3.0.0-beta.12 to 3.0.0-beta.13 (#866) (9293c7d)
  • bump svgo from 2.5.0 to 2.6.0 (#862) (2f296f7)

9.0.6 (2021-09-11)

📦 Package

  • bump @babel/runtime from 7.15.3 to 7.15.4 (#827) (2ab26b4)
  • bump autoprefixer from 10.3.3 to 10.3.4 (#828) (c5e4fb4)
  • bump core-js from 3.17.2 to 3.17.3 (#850) (e629c60)
  • mini-css-extract-plugin 2.3 (9cb2808)

9.0.5 (2021-09-03)

📦 Package

  • bump core-js from 3.17.1 to 3.17.2 (#815) (3d2caa4)
  • bump terser-webpack-plugin from 5.2.1 to 5.2.2 (#811) (582bf01)

9.0.4 (2021-09-02)

💅 Enhancement

  • Adding webpack HMR is redundant with current cli (41b858d)

📦 Package

  • bump clean-webpack-plugin from 4.0.0-alpha.0 to 4.0.0 (#807) (2e8cfbd)
  • bump core-js from 3.16.4 to 3.17.1 (#808) (bad6b91)
  • bump mini-css-extract-plugin from 2.2.1 to 2.2.2 (#806) (ae60a57)
  • terser-webpack, webpack patch (6d2f900)

9.0.3 (2021-09-01)

📦 Package

  • bump @linaria/webpack-loader from 3.0.0-beta.7 to 3.0.0-beta.12 (#804) (fd05cc8)
  • bump core-js from 3.16.3 to 3.16.4 (#797) (7b93bfb)
  • bump mini-css-extract-plugin from 2.2.0 to 2.2.1 (#802) (d4b79b2)
  • bump svgo from 2.4.0 to 2.5.0 (#795) (adbb8a4)

9.0.2 (2021-08-31)

📦 Package

  • @pmmmwh/react-refresh-webpack-plugin (2fb8ac1)
  • bump autoprefixer from 10.3.2 to 10.3.3 (#784) (b2f5a57)
  • bump core-js from 3.16.2 to 3.16.3 (#776) (0acf43a)

9.0.1 (2021-08-24)

🐛 Bug Fix

  • build-storybook no longer deletes storybook manager ui (c8b633c)

📦 Package

  • bump @pmmmwh/react-refresh-webpack-plugin (#763) (e12b751)
  • bump autoprefixer from 10.3.1 to 10.3.2 (#764) (258705e)

9.0.0 (2021-08-21)

⚠ 💥 BREAKING CHANGES

  • Requires webpack-dev-server >=4

Bumps webpack-dev-server from 3.11.2 to 4.0.0.

📦 Package

  • bump @pmmmwh/react-refresh-webpack-plugin (#753) (2a73cb5)
  • bump core-js from 3.16.1 to 3.16.2 (#749) (572e776)
  • bump webpack-dev-server from 3.11.2 to 4.0.0 (#754) (7f68b5d)

8.0.4 (2021-08-16)

📦 Package

8.0.3 (2021-08-05)

📦 Package

  • bump core-js from 3.15.2 to 3.16.0 (#683) (974f93f)
  • bump domain-browser from 4.21.0 to 4.22.0 (#680) (4b7c05b)
  • bump mini-css-extract-plugin from 2.1.0 to 2.2.0 (#705) (a71b201)
  • rollup, @types/node, domain-browser (#676) (46325f2)
  • sass-resources-loader (ee5fb74)

8.0.2 (2021-07-28)

🐛 Bug Fix

  • Don't crash if terserOptions is not specified (d86d2a6)

8.0.1 (2021-07-28)

🐛 Bug Fix

  • Allow keep_classnames, keep_fnames overrides (9ff303f)

📦 Package

8.0.0 (2021-07-20)

⚠ 💥 BREAKING CHANGES

Bumps css-loader from 5.2.7 to 6.0.0.

📦 Package

📝 Documentation

7.4.6 (2021-07-14)

📦 Package

  • @pmmmwh/react-refresh-webpack-plugin patch (dae01c2)
  • bump autoprefixer from 10.3.0 to 10.3.1 (#607) (4282136)
  • bump css-loader from 5.2.6 to 5.2.7 (#612) (32f9327)

7.4.5 (2021-07-12)

💅 Enhancement

  • Env options accept true or (string or bool) (8aaabb8)

7.4.4 (2021-07-11)

📦 Package

  • autoprefixer, react-refresh-webpack-plugin minor (e97aa97)
  • bump @types/webpack-bundle-analyzer from 4.4.0 to 4.4.1 (#560) (3cdfc18)
  • bump debug from 4.3.1 to 4.3.2 (#569) (43edfb0)
  • bump mini-css-extract-plugin from 2.0.0 to 2.1.0 (#567) (41de28e)
  • bump postcss-loader from 6.1.0 to 6.1.1 (#550) (c3b89a1)

7.4.3 (2021-07-01)

📦 Package

  • bump core-js from 3.15.1 to 3.15.2 (#533) (4a6b4c8)
  • bump mini-css-extract-plugin from 1.6.2 to 2.0.0 (#547) (c0125dd)

7.4.2 (2021-06-29)

📦 Package

  • bump css-minimizer-webpack-plugin from 3.0.1 to 3.0.2 (#524) (328f991)
  • bump mini-css-extract-plugin from 1.6.0 to 1.6.2 (#527) (ce71426)
  • bump svgo from 2.3.0 to 2.3.1 (#532) (669471f)
  • bump terser-webpack-plugin from 5.1.3 to 5.1.4 (#522) (961005a)

7.4.1 (2021-06-25)

💅 Enhancement

📦 Package

7.4.0 (2021-06-23)

🚀 Features

  • Users can choose svgo and node-sass version by installing it themselves (63344a1)

📦 Package

  • bump core-js from 3.14.0 to 3.15.0 (#500) (d64f458)
  • bump core-js from 3.15.0 to 3.15.1 (#508) (cd22706)
  • bump html-webpack-plugin from 5.3.1 to 5.3.2 (#503) (1e53f55)
  • bump sass-resources-loader from 2.2.2 to 2.2.3 (#506) (f0b772a)

7.3.0 (2021-06-19)

🚀 Features

📦 Package

  • bump @babel/runtime from 7.14.5 to 7.14.6 (#474) (52c95e0)
  • bump postcss from 8.3.2 to 8.3.4 (#476) (31109ed)
  • bump postcss from 8.3.4 to 8.3.5 (#491) (67a6cc0)
  • bump sass-resources-loader from 2.2.1 to 2.2.2 (#489) (3ad3b4c)

7.2.2 (2021-06-13)

🐛 Bug Fix

  • svog added as dependency to ensure correct version imported (4ff633e)

7.2.1 (2021-06-11)

📦 Package

  • bump @babel/runtime from 7.14.0 to 7.14.5 (#459) (7b2d6c5)
  • bump sass-loader from 12.0.0 to 12.1.0 (#463) (562b15c)
  • postcss, postcss-loader, @babel/eslint-parser (925bff7)

7.2.0 (2021-06-10)

🚀 Features

7.1.8 (2021-06-09)

🐛 Bug Fix

  • Proper defaults for svgr's svgo integration (4e3e9eb)

📦 Package

  • bump @linaria/webpack-loader from 3.0.0-beta.4 to 3.0.0-beta.6 (#441) (f7b7fb0)
  • bump @pmmmwh/react-refresh-webpack-plugin (#429) (8022b8e)
  • bump core-js from 3.13.1 to 3.14.0 (#435) (88358a3)

7.1.7 (2021-06-04)

🐛 Bug Fix

7.1.6 (2021-06-02)

📦 Package

  • bump sass-loader from 11.1.1 to 12.0.0 (#415) (5942114)

7.1.5 (2021-06-02)

💅 Enhancement

  • Improve compatibility with node packages (57d457a)

📦 Package

  • bump @pmmmwh/react-refresh-webpack-plugin (#412) (1ac8350)
  • bump css-minimizer-webpack-plugin from 3.0.0 to 3.0.1 (#402) (2d9acd3)
  • bump terser-webpack-plugin from 5.1.2 to 5.1.3 (#401) (c1af1ca)

7.1.4 (2021-05-29)

💅 Enhancement

  • Detect core-js version to support max proposals (bf1341b)

7.1.3 (2021-05-29)

💅 Enhancement

  • Improve error handler for compile errors (96e5ddf)

7.1.2 (2021-05-29)

Note: Version bump only for package @anansi/webpack-config

7.1.1 (2021-05-29)

💅 Enhancement

  • Disable InlineChunks until nonce is added (1014c91)

📦 Package

  • @pmmmwh/react-refresh-webpack-plugin 0.5 (6d38090)

7.1.0 (2021-05-28)

🚀 Features

  • Add better error overlay (#392) (b1a383c)
  • NO_HOT_RELOAD to disable hotreloading (7285017)

💅 Enhancement

  • Don't hotreload workers (50f0966)

7.0.5 (2021-05-28)

🐛 Bug Fix

  • Don't override mode behavior with NODE_ENV (25f0429)
  • Only disable svgr's svgo in prod when we use our own svgo (3fc3403)

📦 Package

7.0.4 (2021-05-28)

💅 Enhancement

  • Add prefixIds svgo plugin (9887237)
  • Only override NODE_ENV if not already set (8dafb0b)
  • Use EnvironmentPlugin instead of DefinePlugin (c24b48a)

7.0.3 (2021-05-28)

💅 Enhancement

  • css classes don't have hash when testing (e4b2eec)
  • Run svgo in testing to add ids (2437df7)

📦 Package

  • bump autoprefixer from 10.2.5 to 10.2.6 (#386) (c315dbb)

7.0.2 (2021-05-26)

📦 Package

7.0.1 (2021-05-25)

📦 Package

7.0.0 (2021-05-22)

⚠ 💥 BREAKING CHANGES

  • Min node version 12

💅 Enhancement

  • Enforce node version used in updated packages (315c93d)

📦 Package

  • clean-webpack-plugin - webpack5 compat (1ee36e5)

📝 Documentation

  • Reorder advanced config (355cefa)

6.8.4 (2021-05-22)

💅 Enhancement

  • Get rid of webpack 5 deprecation problem (2f84d7b)

📦 Package

6.8.3 (2021-05-22)

📦 Package

6.8.2 (2021-05-18)

📦 Package

  • bump webpack-bundle-analyzer from 4.4.1 to 4.4.2 (#346) (b3270c5)

6.8.1 (2021-05-15)

📦 Package

  • bump postcss-loader from 5.2.0 to 5.3.0 (#339) (208d322)

📝 Documentation

  • Fix ordering of storybook instructions (25809ca)

6.8.0 (2021-05-14)

🚀 Features

📦 Package

  • bump css-minimizer-webpack-plugin from 2.0.0 to 3.0.0 (#326) (1c787eb)
  • bump sass-loader from 11.1.0 to 11.1.1 (#335) (0412c71)

6.7.7 (2021-05-12)

Note: Version bump only for package @anansi/webpack-config

6.7.6 (2021-05-11)

💅 Enhancement

🐛 Bug Fix

  • Infinite loop storybook devmode (50dc295)
  • Storybook build infinite loop (16d3cf5)

📦 Package

6.7.5 (2021-05-07)

🐛 Bug Fix

  • Need polyfills that are included by babel (471d4ad)

6.7.4 (2021-05-07)

📦 Package

6.7.3 (2021-05-05)

🐛 Bug Fix

6.7.2 (2021-05-05)

Note: Version bump only for package @anansi/webpack-config

6.7.1 (2021-05-03)

Note: Version bump only for package @anansi/webpack-config

6.7.0 (2021-05-03)

🚀 Features

  • Leaving opening browser up to context of user (3acbef3)

6.6.0 (2021-05-03)

🚀 Features

💅 Enhancement

  • peerDep to full release (6353809)

6.5.6 (2021-05-01)

🐛 Bug Fix

  • dev-middleware must be v3 for now (55e030d)

📝 Documentation

  • Add package resolutions to storybook directions (47bede5)
  • Improve wording (a28f16e)
  • More webpack explanations (abd4336)
  • Update style instructions (168207b)

6.5.5 (2021-04-30)

🐛 Bug Fix

  • Remove unused error overlay plugin as it is incompatible with webpack5 (a3b6780)

6.5.4 (2021-04-30)

📦 Package

  • bump mini-css-extract-plugin from 1.5.1 to 1.6.0 (#283) (c1ac1d1)

6.5.3 (2021-04-29)

💅 Enhancement

  • Support icss in global style dir (37b747f)
  • Treat .module.scss found in global style folder as css modules (9db8a7a)

6.5.2 (2021-04-29)

🐛 Bug Fix

  • Only add module resolve for globalStyleDir if it is defined (c3ef706)

6.5.1 (2021-04-29)

💅 Enhancement

  • Don't do special publicPath for devmode (f2c67b7)

🐛 Bug Fix

  • Avoid recursive watching by moving cache dir out of node_modules (3e27040)
  • Resolve globalStyleDir (75e7e9c)

📦 Package

  • bump mini-css-extract-plugin from 1.5.0 to 1.5.1 (#276) (70401cb)

6.5.0 (2021-04-28)

🚀 Features

🐛 Bug Fix

📝 Documentation

  • Document tsconfigPathOptions (3ba837b)

6.4.1 (2021-04-27)

🐛 Bug Fix

6.4.0 (2021-04-27)

🚀 Features

  • Add svgrOptions to configure svgr (d4a6564)

💅 Enhancement

📦 Package

6.3.5 (2021-04-24)

📦 Package

6.3.4 (2021-04-22)

📦 Package

6.3.3 (2021-04-21)

📦 Package

  • css-loader, mini-css-extract-plugin (f5058e2)
  • webpack-node-externals major (c072aba)

6.3.2 (2021-04-15)

Note: Version bump only for package @anansi/webpack-config

6.3.1 (2021-04-15)

💅 Enhancement

  • Improve chunk naming during analyze and nohash (df234a7)
  • Vary webpack cache on browserslist (9912e5e)

📦 Package

📝 Documentation

6.3.0 (2021-04-14)

🚀 Features

📦 Package

  • thread-loader, webpack-bundle-analyzer (bb994f2)

6.2.12 (2021-04-12)

📦 Package

  • mini-css-extract-plugin (072e48a)

6.2.11 (2021-04-11)

📦 Package

  • Bump linaria to 3-beta.2 (273b04b)
  • css-loader, css-minimizer (major), postcss (be9d829)

6.2.10 (2021-04-11)

Note: Version bump only for package @anansi/webpack-config

6.2.9 (2021-04-06)

Note: Version bump only for package @anansi/webpack-config

6.2.8 (2021-04-01)

Note: Version bump only for package @anansi/webpack-config

6.2.7 (2021-04-01)

📦 Package

6.2.6 (2021-03-29)

Note: Version bump only for package @anansi/webpack-config

6.2.5 (2021-03-29)

💅 Enhancement

  • Invalidate webpack cache based on config version (80d73ee)
  • Remove extraneous dep (771a3da)
  • Webpack 5 recommended config (037d36f)

📝 Documentation

  • Reorder and make more clear (c7823e2)

6.2.4 (2021-03-28)

💅 Enhancement

  • Use css-minimizer-webpack-plugin (3ebe0a3)

6.2.3 (2021-03-28)

🐛 Bug Fix

  • readable-stream mapping for current (3.6) version (77b3c0b)
  • Storybook resolve.plugins building (9b8adb6)

📝 Documentation

6.2.2 (2021-03-28)

💅 Enhancement

  • Make scripts use more consistent naming (67d8130)

🐛 Bug Fix

  • Correct peerDep version for storybook (0e1696d)

6.2.1 (2021-03-28)

📝 Documentation

6.2.0 (2021-03-28)

🚀 Features

  • .html typings (c038b95)
  • Automatic module resolution based on tsconfig (61bc307)
  • Resolve wasm files (607530b)
  • Support .html files (3591086)

💅 Enhancement

  • More chances to bust babel cache (44d0bca)

6.1.6 (2021-03-28)

🐛 Bug Fix

📦 Package

  • css-loader, mini-css-extract-plugin, svgo minor (c9bfd17)

6.1.5 (2021-03-28)

💅 Enhancement

  • Explicit types inclusion for storybook loaders (e6077c9)

📦 Package

  • readable-stream explicit dep (17e6635)

📝 Documentation

  • Explain how to work with webpack 4 (fee5e87)

6.1.4 (2021-03-28)

💅 Enhancement

  • Improve storybook rules detection to ignore (96e7028)

6.1.3 (2021-03-25)

🐛 Bug Fix

  • Latest storybook config with hoisted node_modules (77cc13f)

📝 Documentation

  • Webpack supports only 5 now (86eca63)

6.1.2 (2021-03-25)

🐛 Bug Fix

  • Hot reloading in dev mode with dev-server v3 (e716c9d)

6.1.1 (2021-03-22)

💅 Enhancement

  • Use default webpack targets (browserslist if found, then web) (f28d1ed)

6.1.0 (2021-03-21)

🚀 Features

💅 Enhancement

  • Detect apng, cur, ani for PreloadWebpackPlugin (8c86483)
  • Handle case where react cannot be imported (afb0d5a)
  • Make process.env more robust (8b87227)
  • Only predefine process for non-node (40084ee)
  • Use webpack 5 asset modules (#158) (06baa85)
  • Use webpack5 recommendations (cff4dc7)

6.0.0 (2021-03-21)

💅 Enhancement

6.0.0-rc.0 (2021-03-21)

⚠ 💥 BREAKING CHANGES

    • drop support for webpack 4
  • remove ~ prefix in sass imports (should still work without it)

📦 Package

  • Major webpack plugin upgrades for v5 support (#75) (ff04988)

5.4.1 (2021-03-21)

🐛 Bug Fix

  • No more infinite loop in 6.2 storybook (19c26db)
  • process ENV needed to use node polyfills (de53ee7)

5.4.0 (2021-03-21)

🚀 Features

  • Support apng, cur, ani files (48e4087)

💅 Enhancement

🐛 Bug Fix

  • Global css might have side effects (8d53c9e)

📦 Package

  • mini-css-extract-plugin, postcss, svgo patch (b01a7b8)

5.3.0 (2021-03-08)

🚀 Features

  • Add svgoOptions to override SVGO optimization (021d427)

5.2.4 (2021-03-06)

📦 Package

5.2.3 (2021-03-04)

Note: Version bump only for package @anansi/webpack-config

5.2.2 (2021-02-24)

💅 Enhancement

  • Remove need for fancy loader resolution (#110) (85d7a1c)

🐛 Bug Fix

📦 Package

  • mini-css-extract-plugin, react-dev-utils patch (1959f32)

5.2.1 (2021-02-20)

📦 Package

  • bump autoprefixer from 10.2.3 to 10.2.4 (#97) (123dd86)
  • bump postcss from 8.2.3 to 8.2.6 (#93) (4190b40)
  • bump react-dev-utils from 10.2.1 to 11.0.2 (#94) (a38c7c4)
  • bump rimraf from 3.0.0 to 3.0.2 (#96) (d3a9f95)

📝 Documentation

  • Add upgrade guide to changelog (63128c0)

5.2.0 (2021-02-13)

🚀 Features

📝 Documentation

  • Add htmlOptions to readme (3231fbd)
  • Formatting improvements (245e59b)

5.1.14 (2021-02-13)

💅 Enhancement

  • Move NoEmitOnErrorsPlugin to non-deprecated method (b25bdfb)

📦 Package

  • error-overlay-webpack-plugin, mini-css-extract-plugin patch (89af772)

📝 Documentation

  • Update linaria instructions (b0092b8)

5.1.13 (2021-02-13)

Note: Version bump only for package @anansi/webpack-config

5.1.12 (2021-02-13)

🐛 Bug Fix

  • Include webpack config types (6d2f0e2)

5.1.11 (2021-02-13)

📦 Package

  • Bump babel (patch) (22152c5)
  • bump worker-loader from 3.0.7 to 3.0.8 (#91) (c260de8)

5.1.10 (2021-02-05)

📦 Package

  • bump ramda from 0.26.1 to 0.27.1 (#78) (498e327)
  • webpack-fix-style-only-entries patch (4881852)

5.1.9 (2021-02-03)

Note: Version bump only for package @anansi/webpack-config

5.1.8 (2021-01-23)

📦 Package

  • autoprefixer, html-webpack-plugin, mini-css-extract-plugin, worker-loader (8dd7bd0)

5.1.7 (2021-01-18)

📦 Package

  • minor post-css (2b7d3a1)
  • Require 5.12 webpack for html-plugin compat (52d628c)

5.1.6 (2020-12-29)

💅 Enhancement

5.1.5 (2020-12-17)

Note: Version bump only for package @anansi/webpack-config

5.1.4 (2020-12-04)

📦 Package

  • many patch updates, node-sass major (7747784)

5.1.3 (2020-11-14)

🐛 Bug Fix

📦 Package

  • @pmmmwh/react-refresh-webpack-plugin patch (a00ee91)
  • babel-loader minor, mini-css-extract-plugin patch (4cb8e71)
  • mini-css-extract-plugin minor (47de30e)

5.1.2 (2020-10-27)

Note: Version bump only for package @anansi/webpack-config

5.1.1 (2020-10-26)

Note: Version bump only for package @anansi/webpack-config

5.1.0 (2020-10-24)

🚀 Features

  • Support new jsx transform for react 17 (#53) (44c4a6a)

📦 Package

5.0.0 (2020-10-24)

⚠ 💥 BREAKING CHANGES

  • args from period to space (e.g., --env readable)

Also requires webpack-cli v4

  • --analyze, --profile, --check, --readable now use --env. prefix: e.g., --env.analyze
  • module resolution now looks in package's node_modules before hoisted
  • Potential change to css output based on major postcss upgrade.

🚀 Features

  • Support class static initialization blocks (#47) (8625b5b)

💅 Enhancement

  • Switch webpack args to use --env. prefix. (#50) (11933ef)

🐛 Bug Fix

  • Improve monorepo package resolution (#49) (703af34)

📦 Package

⏫ Upgrade Guide

1) Upgrade webpack-cli to v4 yarn add --dev webpack-cli@4

2) Update launch scripts to use --env

<details open><summary><b>/package.json</b></summary>

```json
{
  "scripts": {
    "start:dev": "webpack serve --mode=development",
    "build": "webpack --mode=production",
    "build:server": "webpack --mode=production --target=node",
    "analyze": "webpack --mode=production --env analyze",
    "profile": "webpack --mode=production --env profile",
    "pkgcheck": "webpack --env check=nobuild",
  }
}
```
</details>

4.2.5 (2020-10-02)

💅 Enhancement

  • Default to gzip when analyzing (28bfe20)
  • webpack-dev-server no longer peerDep (16f8ea0)

📦 Package

  • minor: css-loader, html-webpack-plugin, thread-loader; patch: mini-css-extract-plugin, worker-loader (d95c0c9)

4.2.4 (2020-09-05)

🐛 Bug Fix

  • Storybook webpack reoslution (4b00ff1)

4.2.3 (2020-09-05)

💅 Enhancement

  • Remove redundant postcss optimize, since we're using OptimizeCSSAssetsPlugin (54e8540)

📦 Package

  • react-refresh, optimize-css, autoprefixer patch (c993d67)

4.2.2 (2020-09-01)

Note: Version bump only for package @anansi/webpack-config

4.2.1 (2020-08-31)

💅 Enhancement

  • Warn about using unsupported storybook version (7382a32)

📦 Package

  • file-loader, html-webpack-plugin minor (a7d4aed)

📝 Documentation

  • Notice about versions supported (e270145)

4.2.0 (2020-08-31)

🚀 Features

  • Fully support webpack 5 (a095546)

4.1.2 (2020-08-30)

💅 Enhancement

  • Increase compatability with webpack 5 (644a5d2)

🐛 Bug Fix

  • Storybook 6 compatibility (f236cf6)

4.1.1 (2020-08-26)

💅 Enhancement

  • Streamline TypeScript webpack integration (5ecb8c4)

📝 Documentation

4.1.0 (2020-08-26)

🚀 Features

  • Support more video formats (ffc03a0)

🐛 Bug Fix

  • Don't apply sass to .css files (c1cf8ca)
  • Prioritize own loaders over user's for compatibility (e86a9c9)
  • Symlink no longer set in storybook (e660d90)

4.0.1 (2020-08-25)

📝 Documentation

  • Add linaria instructions step about including preset (6f9bb5d)
  • Fix heading level in readme (fe1ebd1)

4.0.0 (2020-08-25)

⚠ 💥 BREAKING CHANGES

node_modules only use cssmodules if .module extension is used

🚀 Features

  • Add cssModuleOptions to customize how css modules work (46eaf53)
  • Add extraJsLoaders option (04e252c)
  • Support linaria and other css flexibility (#41) (00cd6fd)

💅 Enhancement

  • Remove resolve.symlinks = false (c89f3e6)

🐛 Bug Fix

  • Consistent css module options when in dev mode (7a27d96)

📦 Package

  • Upgrade css-loader to v4 (major) (32d57d2)

3.0.1 (2020-08-14)

  • enhance: Upgrade to storybook 6 (major) (da30bf7)
  • pkg: Antd, terser (ec300c1)

3.0.0 (2020-08-08)

⚠ 💥 BREAKING CHANGES

  • Set hardCacheOptions={} to re-enable plugin
  • Webpack min version 4.43

💅 Enhancement

  • Disable hard-cache-plugin by default (d0facde)

🐛 Bug Fix

  • worker-loader integration (31ca6ac)

📦 Package

  • major worker-loader, webpack-node-externals (not affecting our config) (ef7f8fd)
  • react-refresh-webpack-plugin v4 (9e3e64d)
  • Terser major upgrade (e860b73)

2.1.1 (2020-07-31)

🏠 Internal

2.1.0 (2020-07-31)

🚀 Features

  • New CLI option --readable (00beef8)

📦 Package

2.0.4 (2020-07-18)

📦 Package

  • terser-webpack-plugin, autoprefixer (94a7f99)

2.0.3 (2020-07-11)

📦 Package

  • raw-loader, terser-webpack-plugin major (5d2e5b0)

2.0.2 (2020-07-11)

📦 Package

  • react-dev-utils, react-docgen-typescript-loader, sass-loader (3d7cbc5)
  • webpack-bundle-analyzer, webpack-fix-style-only-entries (3f5b85f)

2.0.1 (2020-07-01)

💅 Enhancement

  • Bump style plugins/loaders (2e25bd3)
  • Don't extract global css into js (82abbdb)

2.0.0 (2020-07-01)

⚠ 💥 BREAKING CHANGES

  • export.scss is no longer automatically included.
  • To import SVG as Component, use { ReactComponent }

🚀 Features

  • Add sassResources option. Without it export.scss is not provided (34901d2)
  • SVG as component or url string based on import (#36) (1497183)

🐛 Bug Fix

  • Optional chaining 'Module parse failed' when targetting newer browsers (55d7c1e)

1.0.6 (2020-06-28)

📦 Package

  • Minor html-webpack-plugin, patch react-refresh-webpack-plugin (466462d)

1.0.5 (2020-05-28)

📦 Package

1.0.4 (2020-05-25)

📦 Package

1.0.3 (2020-05-13)

Note: Version bump only for package @anansi/webpack-config

1.0.2 (2020-05-11)

🐛 Bug Fix

📦 Package

  • Upgrade react-refresh webpack plugin to 0.3.1 (7a47c7e)

1.0.1 (2020-05-02)

📦 Package

1.0.0 (2020-04-19)

⚠ 💥 BREAKING CHANGES

📦 Package

  • Bump a few webpack plugins (#34) (7b29fb1)
  • Upgrade html-webpack-plugin to 4 series (044f9ef)

🏠 Internal

  • Bump dev webpack for plugin (f696d31)

0.20.2 (2020-04-09)

Note: Version bump only for package @anansi/webpack-config

0.20.1 (2020-03-22)

Note: Version bump only for package @anansi/webpack-config

0.20.0 (2020-03-22)

🚀 Features

  • Automatically detect webpack target in babel (#32) (257b64e)

0.19.8 (2020-03-14)

Note: Version bump only for package @anansi/webpack-config

0.19.7 (2020-03-08)

📦 Package

  • Babel typescript, preset-env (ec8adcf)

📝 Documentation

0.19.6 (2020-02-17)

🏠 Internal

0.19.5 (2020-02-16)

Note: Version bump only for package @anansi/webpack-config

0.19.4 (2020-01-29)

🐛 Bug Fix

  • Remove inline chunks until htmlwebpackplugin is v4 (cbf55c9)

📦 Package

  • react-refresh, terser-plugin (e25caad)

0.19.3 (2020-01-27)

Note: Version bump only for package @anansi/webpack-config

0.19.2 (2020-01-13)

💅 Enhancement

  • Inline webpack runtime chunk in prod (#22) (075eed0)

0.19.1 (2020-01-07)

📦 Package

0.19.0 (2019-12-18)

🚀 Features

  • Add babelLoader to customize babel loader options (#16) (38667a4)
  • Add babelRoot to webpack config generator (#15) (f5d95d6)

🐛 Bug Fix

  • Fix webpack's babel loader (854c4be)
  • Storybook with webpack - don't use react-refresh with it (#17) (70a4b1f)

0.18.1 (2019-12-11)

🐛 Bug Fix

  • Disable react-refresh in storybook context (63b299e)

📝 Documentation

  • Link to monorepo directories in npm repo listing (b7dc1d5)

0.18.0 (2019-12-09)

🚀 Features

  • Eslint TypeScript support (#14) (2679e26)
  • Use react fast-refresh instead of hot-reloader (#13) (1ca29a4)

0.17.6 (2019-12-01)

💅 Enhancement

  • Change default production htmlOptions to have empty title (#11) (36ac2e6)

0.17.5 (2019-11-19)

💅 Enhancement

  • ENV configurable publicPath (#9) (c5b6aa2)
  • Error on htmlOptions set to 'undefined' (#8) (76b44da)

📦 Package

  • svgo patch, react-docgen-typescript-loader minor (#10) (d59dc85)

0.17.4 (2019-11-13)

  • internal: Configure changelog tags (6d752d0)

0.17.1 (2019-11-10)

Note: Version bump only for package @anansi/webpack-config