CSS Collector Files Not Compiled for Brunch

I had a problem with brunch@1.7.6 without compiling css bower_component files. Similar to Separating application and css provider in Brunch . For me, only css / app.css is generated.: /

{ stylesheets: { joinTo: { 'css/app.css': /^app/, 'css/vendor.css': /^bower_components/ } } 

Please let me know if I am doing something wrong. Everything looked great when I used brunch@1.6.7. Is the configuration changed with the introduction to the construction of the gazebo?

+6
source share
1 answer

As for x-editable , I came across that I did not include bower_components css, but found that I just needed to add the specification in the override section of bower.json (since it has several options of the main library, it is not included in .bower.json ).

I have successfully used the following overrides:

 "overrides": { "x-editable": { "main": [ "dist/bootstrap3-editable/js/bootstrap-editable.js", "dist/bootstrap3-editable/css/bootstrap-editable.css" ] } } 
+2
source

Source: https://habr.com/ru/post/954355/


All Articles