vue2打包时遇到的Error: CSS minification error:css\chunk-bac522ec.172852655309.css:2406:12: Unknown word.

vue2打包时遇到的Error: CSS minification error:

问题所在

vue2打包时遇到的Error: CSS minification error:css\chunk-bac522ec.172852655309.css:2406:12: Unknown word.
在这里插入图片描述

error in ./node_modules/.store/@babylonjs+core@6.49.0/node_modules/@babylonjs/core/PostProcesses/volumetricLightScatteringPostProcess.js

Module parse failed: Unexpected token (89:23)
You may need an appropriate loader to handle this file type.
|          */
|         this.density = 0.926;
>         scene = camera?.getScene() ?? scene ?? this._scene; // parameter "scene" can be null.
|         engine = scene.getEngine();
|         this._viewPort = new Viewport(0, 0, 1, 1).toGlobal(engine.getRenderWidth(), engine.getRenderHeight());

 @ ./node_modules/.store/@babylonjs+core@6.49.0/node_modules/@babylonjs/core/PostProcesses/index.js 30:0-58 30:0-58
 @ ./node_modules/.store/@babylonjs+core@6.49.0/node_modules/@babylonjs/core/index.js
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/threeDimension/index.vue?vue&type=script&lang=js&
 @ ./src/views/threeDimension/index.vue?vue&type=script&lang=js&
 @ ./src/views/threeDimension/index.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.2.114:39528/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

Warning: 129 repetitive deprecation warnings omitted.

 ERROR  Error: CSS minification error: E:\zhijie\视频平台Web客户端\trunk\client\frontend\aqgkFile\static\css\chunk-bac522ec.1728526553049.css:2406:12: Unknown word. File: aqgkFile/static/css/chunk-bac522ec.1728526553049.css
Error: CSS minification error: E:\zhijie\视频平台Web客户端\trunk\client\frontend\aqgkFile\static\css\chunk-bac522ec.1728526553049.css:2406:12: Unknown word. File: aqgkFile/static/css/chunk-bac522ec.1728526553049.css
    at E:\zhijie\视频平台Web客户端\trunk\client\frontend\node_modules\@intervolga\optimize-cssnano-plugin\index.js:106:21

处理办法

在这里插入图片描述
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值