@weapp-tailwindcss/postcss 1.0.17 → 1.0.18

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/dist/index.js CHANGED
@@ -1269,9 +1269,9 @@ function styleHandler(rawSource, options) {
1269
1269
  getPlugins(options)
1270
1270
  ).process(
1271
1271
  rawSource,
1272
- _nullishCoalesce(_optionalChain([options, 'access', _64 => _64.postcssOptions, 'optionalAccess', _65 => _65.options]), () => ( {
1272
+ _shared.defu.call(void 0, _optionalChain([options, 'access', _64 => _64.postcssOptions, 'optionalAccess', _65 => _65.options]), {
1273
1273
  from: void 0
1274
- }))
1274
+ })
1275
1275
  ).async();
1276
1276
  }
1277
1277
  function createStyleHandler(options) {
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-WAXGOBY2.mjs";
2
2
 
3
3
  // src/handler.ts
4
- import { defuOverrideArray } from "@weapp-tailwindcss/shared";
4
+ import { defu as defu3, defuOverrideArray } from "@weapp-tailwindcss/shared";
5
5
  import postcss from "postcss";
6
6
 
7
7
  // src/defaults.ts
@@ -1269,9 +1269,9 @@ function styleHandler(rawSource, options) {
1269
1269
  getPlugins(options)
1270
1270
  ).process(
1271
1271
  rawSource,
1272
- options.postcssOptions?.options ?? {
1272
+ defu3(options.postcssOptions?.options, {
1273
1273
  from: void 0
1274
- }
1274
+ })
1275
1275
  ).async();
1276
1276
  }
1277
1277
  function createStyleHandler(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/postcss",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "@weapp-tailwindcss/postcss",
5
5
  "author": "ice breaker <1324318532@qq.com>",
6
6
  "license": "MIT",