@best-shot/preset-mini 0.10.9 → 0.10.11

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 -2
  2. package/package.json +4 -4
package/index.mjs CHANGED
@@ -8,11 +8,12 @@ export function apply({
8
8
  .asyncChunks(false)
9
9
  .filename('[name].js')
10
10
  .globalObject('globalThis')
11
- .strictModuleErrorHandling(true)
12
11
  .environment({
13
12
  document: false,
14
13
  dynamicImport: false,
15
14
  globalThis: true,
15
+ arrowFunction: true,
16
+ module: true,
16
17
  });
17
18
 
18
19
  if (Module) {
@@ -117,7 +118,7 @@ export const schema = {
117
118
  },
118
119
  },
119
120
  target: {
120
- default: 'browserslist',
121
+ default: 'es2015',
121
122
  },
122
123
  context: {
123
124
  default: 'src',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@best-shot/preset-mini",
3
- "version": "0.10.9",
3
+ "version": "0.10.11",
4
4
  "description": "A `best-shot` preset for mini program project",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -29,11 +29,11 @@
29
29
  "type": "module",
30
30
  "dependencies": {
31
31
  "yaml": "^2.7.1",
32
- "@best-shot/sfc-split-plugin": "~0.13.15"
32
+ "@best-shot/sfc-split-plugin": "~0.13.17"
33
33
  },
34
34
  "peerDependencies": {
35
- "@best-shot/core": "~0.12.10",
36
- "@best-shot/preset-babel": "~0.17.6",
35
+ "@best-shot/core": "~0.12.12",
36
+ "@best-shot/preset-babel": "~0.17.7",
37
37
  "@best-shot/preset-style": "~0.15.5"
38
38
  },
39
39
  "engines": {