vuejs / vue-component-compiler

Compile a single file Vue component into a CommonJS module.
MIT License
342 stars 52 forks source link

fix: Fill up missing source file path in postcss-clean #82

Closed 3cp closed 5 years ago

3cp commented 5 years ago

The postcss-clean missed "from" (source file path) in the result root AST node. That causes issue on other postcss plugin which needs the information postcss/postcss-url#132.

3cp commented 5 years ago

Rebased to latest head, tests are clean now.

smadey commented 5 years ago

request +1

3cp commented 5 years ago

This PR is now unnecessary because of https://github.com/vuejs/vue-component-compiler/commit/d4ae5be72567410160353a8aa2e2b43f0cee13f6 All user postcss plugins are processed before postcss-clean, hence not affected.