cssmin not correctly handling @import

前端 未结 6 1653
粉色の甜心
粉色の甜心 2021-02-08 01:40

I am using cssmin on files containing @imports. cssmin is recursively importing local files correctly, but for imports that point to a URL the imports are left inline. This ma

6条回答
  •  走了就别回头了
    2021-02-08 02:37

    Use the following process:

    • Install node-less
    • import the files by compiling with less first
    • minify with cssmin

    References

    • node-less

    • LESS compile error

提交回复
热议问题