EasyUI Forum

General Category => EasyUI for Vue => Topic started by: elymatos on January 29, 2019, 05:57:47 PM



Title: Minification error with Vue-Cli 3
Post by: elymatos on January 29, 2019, 05:57:47 PM
Hi,
Trying to build an app with Vue-cli 3 + Typescript, I'm getting an error of "word unknown" in the process postcss.
Digging a lot, I found the problem is with the rules in easyui.css (for tooltip) - for all themes,  I guess:
  _border-color: tomato;
  _filter: chroma(color=tomato);
I comment both lines and get to build. I don't know the exact problem, but this is blocking the building.
Thanks,
Ely


Title: Re: Minification error with Vue-Cli 3
Post by: srw962 on March 10, 2019, 10:53:55 PM
I use Vue-Cli3 + javascript,get the same error:
$ vue-cli-service build --mode production --dest dist --target app --dashboard


-  Building for production...

 ERROR  Error: CSS minification error: E:\vue\hello-world\css\chunk-vendors.c84fc929.css:3131:12: Unknown word. File: css/chunk-vendors.c84fc929.css

Error: CSS minification error: E:\vue\hello-world\css\chunk-vendors.c84fc929.css:3131:12: Unknown word. File: css/chunk-vendors.c84fc929.css
    at E:\vue\hello-world\node_modules\@intervolga\optimize-cssnano-plugin\index.js:106:21


Title: Re: Minification error with Vue-Cli 3
Post by: stworthy on March 11, 2019, 07:00:01 PM
Please update to a newer version to solve this issue.