@tarojs/service 3.6.14-alpha.0 → 3.6.14-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/service",
3
- "version": "3.6.14-alpha.0",
3
+ "version": "3.6.14-alpha.1",
4
4
  "description": "Taro Service",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -30,9 +30,9 @@
30
30
  "tapable": "^1.1.3",
31
31
  "webpack-merge": "^4.2.2",
32
32
  "ora": "^5.0.0",
33
- "@tarojs/shared": "3.6.14-alpha.0",
34
- "@tarojs/helper": "3.6.14-alpha.0",
35
- "@tarojs/taro": "3.6.14-alpha.0"
33
+ "@tarojs/helper": "3.6.14-alpha.1",
34
+ "@tarojs/shared": "3.6.14-alpha.1",
35
+ "@tarojs/taro": "3.6.14-alpha.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "webpack": "5.78.0"
@@ -1,6 +1,6 @@
1
1
  import type helper from '@tarojs/helper'
2
2
  import type { IProjectConfig } from '@tarojs/taro/types/compile'
3
- import type { IModifyWebpackChain } from '@tarojs/taro/types/compile/hooks'
3
+ import type { IModifyChainData } from '@tarojs/taro/types/compile/hooks'
4
4
  import type joi from 'joi'
5
5
  import type Webpack from 'webpack'
6
6
  import type Chain from 'webpack-chain'
@@ -138,7 +138,7 @@ export declare interface IPluginContext {
138
138
  /**
139
139
  * 编译中修改 webpack 配置,在这个钩子中,你可以对 webpackChain 作出想要的调整,等同于配置 [`webpackChain`](./config-detail.md#miniwebpackchain)
140
140
  */
141
- modifyWebpackChain: (fn: (args: { chain: Chain, webpack: typeof Webpack, data?: IModifyWebpackChain }) => void) => void
141
+ modifyWebpackChain: (fn: (args: { chain: Chain, webpack: typeof Webpack, data?: IModifyChainData }) => void) => void
142
142
  /**
143
143
  * 修改编译后的结果
144
144
  */
@@ -1,6 +1,6 @@
1
1
  import type helper from '@tarojs/helper';
2
2
  import type { IProjectConfig } from '@tarojs/taro/types/compile';
3
- import type { IModifyWebpackChain } from '@tarojs/taro/types/compile/hooks';
3
+ import type { IModifyChainData } from '@tarojs/taro/types/compile/hooks';
4
4
  import type joi from 'joi';
5
5
  import type Webpack from 'webpack';
6
6
  import type Chain from 'webpack-chain';
@@ -142,7 +142,7 @@ export declare interface IPluginContext {
142
142
  modifyWebpackChain: (fn: (args: {
143
143
  chain: Chain;
144
144
  webpack: typeof Webpack;
145
- data?: IModifyWebpackChain;
145
+ data?: IModifyChainData;
146
146
  }) => void) => void;
147
147
  /**
148
148
  * 修改编译后的结果