@next-core/build-next-bricks 1.23.4 → 1.23.5
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 +2 -2
- package/src/build.js +2 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/build-next-bricks",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.5",
|
|
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",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@next-core/brick-manifest": "^0.7.1"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "83dc7a4163a5b09fc9a9a1ef0ed101d83c82ffa4"
|
|
61
61
|
}
|
package/src/build.js
CHANGED
|
@@ -40,12 +40,7 @@ const getCssLoaders = (cssOptions) => [
|
|
|
40
40
|
sourceMap: false,
|
|
41
41
|
postcssOptions: {
|
|
42
42
|
plugins: [
|
|
43
|
-
postcssPresetEnv(
|
|
44
|
-
stage: 3,
|
|
45
|
-
features: {
|
|
46
|
-
"nesting-rules": true,
|
|
47
|
-
},
|
|
48
|
-
}),
|
|
43
|
+
postcssPresetEnv(),
|
|
49
44
|
cssnano({
|
|
50
45
|
preset: cssnanoPresetLite({
|
|
51
46
|
discardComments: {
|
|
@@ -305,7 +300,7 @@ async function getWebpackConfig(config) {
|
|
|
305
300
|
// filename: "[name].bundle.js",
|
|
306
301
|
publicPath:
|
|
307
302
|
mode === "development"
|
|
308
|
-
? config.devOnlyOutputPublicPath ?? "auto"
|
|
303
|
+
? (config.devOnlyOutputPublicPath ?? "auto")
|
|
309
304
|
: "auto",
|
|
310
305
|
hashDigestLength: 8,
|
|
311
306
|
chunkFilename: `${chunksDir}[name]${
|