zoukankan      html  css  js  c++  java
  • StyleBundle打包问题—— /* 未能缩小。正在返回未缩小的内容。

    1. 问题——查看打包发布的结果,类似下面的这样的
    /* 未能缩小。正在返回未缩小的内容。
    (1567,65): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: auto
    (5909,65): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: auto
    (6018,90): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: documentElement
    (6019,90): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: documentElement
    (6051,90): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: documentElement
    (6052,90): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: documentElement
    (6293,89): run-time error CSS1054: JavaScript error in expression property: Variable has not been declared: documentElement
    (6649,21): run-time error CSS1062: Expected semicolon or closing curly-brace, found ':'
    (7167,7): run-time error CSS1031: Expected selector, found '='
    (7167,7): run-time error CSS1025: Expected comma or open brace, found '='
     */
    

    2.解决

    检查要打包的内容是否有问题。
    最后发现是bootstrap的版本太高(4.2.0)了,降级到(3.4.0)成功打包。

    https://q.cnblogs.com/q/79226/

  • 相关阅读:
    各大网站收录、搜索引擎的提交入口
    个性注释
    css3 content 生成内容
    C# 的三种序列化方法
    C# 文件下载四方法
    AngularJS 預設模組 select 標籤的 ngOptions 參數用法
    null与undefined
    第三次作业--林枫
    第二次作业--林枫
    第一次作业--林枫
  • 原文地址:https://www.cnblogs.com/TTonly/p/10354189.html
Copyright © 2011-2022 走看看