@best-shot/preset-mini 0.4.2 → 0.4.4

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.
Files changed (2) hide show
  1. package/index.mjs +3 -8
  2. package/package.json +5 -5
package/index.mjs CHANGED
@@ -79,14 +79,6 @@ export const schema = {
79
79
  context: {
80
80
  default: 'src',
81
81
  },
82
- css: {
83
- type: 'object',
84
- properties: {
85
- extname: {
86
- default: '.wxss',
87
- },
88
- },
89
- },
90
82
  output: {
91
83
  type: 'object',
92
84
  default: {},
@@ -99,6 +91,9 @@ export const schema = {
99
91
  publicPath: {
100
92
  default: '/',
101
93
  },
94
+ cssFilename: {
95
+ default: '.wxss',
96
+ },
102
97
  },
103
98
  },
104
99
  optimization: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@best-shot/preset-mini",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "A `best-shot` preset for mini program project",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -29,12 +29,12 @@
29
29
  "type": "module",
30
30
  "dependencies": {
31
31
  "yaml": "^2.5.0",
32
- "@best-shot/sfc-split-plugin": "~0.5.2"
32
+ "@best-shot/sfc-split-plugin": "~0.5.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "@best-shot/preset-babel": "~0.15.2",
36
- "@best-shot/preset-style": "~0.13.0",
37
- "@best-shot/core": "~0.10.0"
35
+ "@best-shot/core": "~0.10.0",
36
+ "@best-shot/preset-style": "~0.13.1",
37
+ "@best-shot/preset-babel": "~0.15.2"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=20.6.0 || ^18.19.0"