Answer the question
In order to leave comments, you need to log in
How to properly use url: 'copy' option in postcss-url plugin in project-stub (BEM)?
Hello.
There was a need to use the url: 'copy' option in the postcss-url plugin in the project-stub (BEM). But it is required to indicate "to", and where and how to indicate this is completely unclear.
Log:
> enb make
18:28:16.013 - build started
18:28:16.045 - [rebuild] [desktop.bundles\home\home.bemjson.js] file-provider
18:28:16.045 - [rebuild] [desktop.bundles\index\index.bemjson.js] file-provider
18:28:16.185 - [rebuild] [desktop.bundles\home\home.levels] levels
18:28:16.185 - [rebuild] [desktop.bundles\index\index.levels] levels
18:28:16.185 - [rebuild] [desktop.bundles\home\home.bemdecl.js] bemjson-to-bemdecl
18:28:16.185 - [rebuild] [desktop.bundles\index\index.bemdecl.js] bemjson-to-bemdecl
18:28:16.216 - [rebuild] [desktop.bundles\home\home.deps.js] deps
18:28:16.232 - [rebuild] [desktop.bundles\home\home.files] files
18:28:16.232 - [rebuild] [desktop.bundles\home\home.dirs] files
18:28:16.472 - [rebuild] [desktop.bundles\home\home.bemhtml.bemdecl.js] deps-by-tech-to-bemdecl
18:28:16.472 - [rebuild] [desktop.bundles\home\home.browser.js] browser-js
18:28:16.472 - [rebuild] [desktop.bundles\home\home.bemhtml.deps.js] deps
18:28:16.472 - [rebuild] [desktop.bundles\home\home.bemhtml.files] files
18:28:16.472 - [rebuild] [desktop.bundles\home\home.bemhtml.dirs] files
18:28:16.487 - [rebuild] [desktop.bundles\home\home.browser.bemhtml.js] bemhtml
vendor_theme/html/fonts/font-awesome/css/font-awesome.css
9:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
10:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
10:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
10:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
10:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
10:3 ‼ Option `to` of postcss is required, ignoring [postcss-url]
18:28:16.659 - [rebuild] [desktop.bundles\home\home.css] enb-postcss
18:28:16.659 - [rebuild] [desktop.bundles\home\home.js] file-merge
18:28:16.691 - [rebuild] [desktop.bundles\home\home.bemhtml.js] bemhtml
18:28:16.722 - [rebuild] [desktop.bundles\home\home.html] bemjson-to-html
18:28:16.737 - [rebuild] [desktop.bundles\home\home.beauty.html] enb-beautify-html
18:28:16.784 - [rebuild] [desktop.bundles\index\index.deps.js] deps
18:28:16.784 - [rebuild] [desktop.bundles\index\index.files] files
18:28:16.800 - [rebuild] [desktop.bundles\index\index.dirs] files
18:28:16.863 - [rebuild] [desktop.bundles\index\index.bemhtml.bemdecl.js] deps-by-tech-to-bemdecl
18:28:16.878 - [rebuild] [desktop.bundles\index\index.bemhtml.deps.js] deps
18:28:16.878 - [rebuild] [desktop.bundles\index\index.bemhtml.files] files
18:28:16.878 - [rebuild] [desktop.bundles\index\index.bemhtml.dirs] files
18:28:16.878 - [rebuild] [desktop.bundles\index\index.browser.js] browser-js
18:28:16.878 - [rebuild] [desktop.bundles\index\index.browser.bemhtml.js] bemhtml
18:28:16.894 - [rebuild] [desktop.bundles\index\index.js] file-merge
node_modules/bem-components/design/common.blocks/input/_theme/input_theme_islands.post.css
141:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
186:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
node_modules/bem-components/design/common.blocks/spin/_theme/spin_theme_islands.post.css
24:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
node_modules/bem-components/design/common.blocks/select/_theme/select_theme_islands.post.css
70:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
76:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
node_modules/bem-components/design/common.blocks/menu/__item/_theme/menu__item_theme_islands.post.css
15:9 ‼ Option `to` of postcss is required, ignoring [postcss-url]
node_modules/bem-components/design/common.blocks/checkbox/_theme/checkbox_theme_islands.post.css
49:13 ‼ Option `to` of postcss is required, ignoring [postcss-url]
18:28:17.097 - [rebuild] [desktop.bundles\home\home.min.css] borschik
18:28:17.097 - [rebuild] [desktop.bundles\home\home.min.js] borschik
18:28:17.097 - [rebuild] [desktop.bundles\index\index.css] enb-postcss
18:28:17.113 - [rebuild] [desktop.bundles\index\index.bemhtml.js] bemhtml
18:28:17.222 - [rebuild] [desktop.bundles\index\index.html] bemjson-to-html
18:28:17.253 - [rebuild] [desktop.bundles\index\index.min.js] borschik
18:28:17.253 - [rebuild] [desktop.bundles\index\index.beauty.html] enb-beautify-html
18:28:17.420 - [rebuild] [desktop.bundles\index\index.min.css] borschik
18:28:17.420 - build finished - 2332ms
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question