Webpack: How to compile all less files in a project -
i use webpack js , want use styles. have lot of styles in different folders , want compile them without requiring each of them mannaully. question how gather .less files in folders , compile them via less-loader?
this isn't how webpack meant work, really. if want this, grunt/gulp going better choice.
webpack's require mechanism ensures build css need given entry point, , gives dependency management well. if want use webpack, don't want use style-loader insert them dom etc., can use extract text plugin build compiled css separate file.
Comments
Post a Comment