@anansi/webpack-config 12.0.3 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/index.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [13.0.0](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@12.0.3...@anansi/webpack-config@13.0.0) (2022-07-28)
|
|
7
|
+
|
|
8
|
+
### ⚠ 💥 BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* Require Linaria 4
|
|
11
|
+
|
|
12
|
+
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
13
|
+
Co-authored-by: Nathaniel Tucker <me@ntucker.me>
|
|
14
|
+
|
|
15
|
+
### 📦 Package
|
|
16
|
+
|
|
17
|
+
* Update linaria to v4 (major) ([#1591](https://github.com/ntucker/anansi/issues/1591)) ([1aab741](https://github.com/ntucker/anansi/commit/1aab74172d68728db5aa443edc7cdad074cbbf9c))
|
|
18
|
+
|
|
6
19
|
### [12.0.3](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@12.0.2...@anansi/webpack-config@12.0.3) (2022-07-26)
|
|
7
20
|
|
|
8
21
|
**Note:** Version bump only for package @anansi/webpack-config
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
} from 'webpack';
|
|
6
6
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
7
7
|
import type { OptimizeOptions } from 'svgo';
|
|
8
|
-
import {
|
|
8
|
+
import { PluginOptions } from '@linaria/babel-preset';
|
|
9
9
|
import type { Options as TsconfigPathsOptions } from 'tsconfig-paths-webpack-plugin/lib/options';
|
|
10
10
|
import type { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
|
|
11
11
|
import type { TransformOptions } from '@babel/core';
|
|
@@ -27,7 +27,7 @@ export interface Options {
|
|
|
27
27
|
htmlOptions?: HtmlWebpackPlugin.Options | false;
|
|
28
28
|
svgoOptions?: OptimizeOptions | false;
|
|
29
29
|
svgrOptions?: any | false;
|
|
30
|
-
linariaOptions?:
|
|
30
|
+
linariaOptions?: PluginOptions | false;
|
|
31
31
|
tsconfigPathsOptions?: TsconfigPathsOptions | false;
|
|
32
32
|
globalStyleDir?: string | false;
|
|
33
33
|
sassOptions?: SassOptions | false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anansi/webpack-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Production ready webpack for React",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@babel/runtime": "^7.17.2",
|
|
64
|
-
"@linaria/webpack5-loader": "
|
|
64
|
+
"@linaria/webpack5-loader": "4.1.1",
|
|
65
65
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
66
66
|
"@svgr/webpack": "^6.3.1",
|
|
67
67
|
"@types/webpack-bundle-analyzer": "^4.4.1",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@babel/core": "^6 || ^7 || ^8",
|
|
134
134
|
"@hot-loader/react-dom": "^16.0.0 || ^17.0.0",
|
|
135
|
-
"@linaria/babel-preset": "^
|
|
135
|
+
"@linaria/babel-preset": "^4.0.0",
|
|
136
136
|
"@storybook/react": "^6.2.0",
|
|
137
137
|
"node-sass": "^7.0.1",
|
|
138
138
|
"react": "*",
|