@next-core/build-next-bricks 1.13.4 → 1.13.6

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/package.json +2 -2
  2. package/src/build.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/build-next-bricks",
3
- "version": "1.13.4",
3
+ "version": "1.13.6",
4
4
  "description": "Build next bricks",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/build-next-bricks",
6
6
  "license": "GPL-3.0",
@@ -51,5 +51,5 @@
51
51
  "devDependencies": {
52
52
  "@next-core/brick-manifest": "^0.5.1"
53
53
  },
54
- "gitHead": "d665569742958ed4bfa82db4860819c10c828c18"
54
+ "gitHead": "ad9c309ab3cc264f9ae8b913aeb7e64448a974ca"
55
55
  }
package/src/build.js CHANGED
@@ -42,6 +42,9 @@ const getCssLoaders = (cssOptions) => [
42
42
  plugins: [
43
43
  postcssPresetEnv({
44
44
  stage: 3,
45
+ features: {
46
+ "nesting-rules": true,
47
+ },
45
48
  }),
46
49
  cssnano({
47
50
  preset: cssnanoPresetLite({
@@ -118,6 +121,7 @@ async function getWebpackConfig(config) {
118
121
  "js-yaml",
119
122
  "i18next-browser-languagedetector",
120
123
  "react-i18next",
124
+ "@babel/parser",
121
125
  "@easyops-cn/brick-next-pipes",
122
126
  "@next-core/pipes",
123
127
  "@next-core/runtime",