@anansi/webpack-config 18.0.2 → 18.0.3

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 CHANGED
@@ -3,6 +3,17 @@
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
+ ### [18.0.3](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@18.0.2...@anansi/webpack-config@18.0.3) (2024-01-26)
7
+
8
+ ### 💅 Enhancement
9
+
10
+ * Add types to wyw in js options ([247b61d](https://github.com/ntucker/anansi/commit/247b61d8814fe491c463d12695a5c9523d1ec2d7))
11
+
12
+ ### 📦 Package
13
+
14
+ * Update `@wyw-in-js/webpack-loader` to v0.3.0 ([#2297](https://github.com/ntucker/anansi/issues/2297)) ([8989e6a](https://github.com/ntucker/anansi/commit/8989e6a300671c76bdfec3b6d64b22d92d7c8208))
15
+ * Update all non-major dependencies ([57dbf3c](https://github.com/ntucker/anansi/commit/57dbf3c074596f4698233c6dcb02d45cb7dd3e2c))
16
+
6
17
  ### [18.0.2](https://github.com/ntucker/anansi/compare/@anansi/webpack-config@18.0.1...@anansi/webpack-config@18.0.2) (2024-01-19)
7
18
 
8
19
  **Note:** Version bump only for package @anansi/webpack-config
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { TransformOptions } from '@babel/core';
2
+ import type { LoaderOptions as WYWOptions } from '@wyw-in-js/webpack-loader';
2
3
  import HtmlWebpackPlugin from 'html-webpack-plugin';
3
4
  import { PluginOptions as MiniCssExtractPluginOptions } from 'mini-css-extract-plugin';
4
5
  import type { Options as SassOptions } from 'sass-loader';
@@ -29,8 +30,7 @@ export interface Options {
29
30
  svgrOptions?:
30
31
  | { svgoConfig?: OptimizeOptions; [key: string]: unknown }
31
32
  | false;
32
- // TODO: get proper types https://github.com/Anber/wyw-in-js/issues/28
33
- inJSOptions?: any | false;
33
+ inJSOptions?: WYWOptions | false;
34
34
  cssExtractOptions?: MiniCssExtractPluginOptions | false;
35
35
  tsconfigPathsOptions?: TsconfigPathsOptions | false;
36
36
  globalStyleDir?: string | false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/webpack-config",
3
- "version": "18.0.2",
3
+ "version": "18.0.3",
4
4
  "description": "Production ready webpack for React",
5
5
  "main": "lib/index.js",
6
6
  "types": "./index.d.ts",
@@ -63,7 +63,7 @@
63
63
  "@svgr/webpack": "^8.1.0",
64
64
  "@types/webpack-bundle-analyzer": "^4.6.3",
65
65
  "@vue/preload-webpack-plugin": "^2.0.0",
66
- "@wyw-in-js/webpack-loader": "0.2.2",
66
+ "@wyw-in-js/webpack-loader": "0.3.0",
67
67
  "assert": "^2.1.0",
68
68
  "autoprefixer": "^10.4.17",
69
69
  "babel-loader": "^9.1.3",