angular-css icon indicating copy to clipboard operation
angular-css copied to clipboard

webpack

Open tianlizhao opened this issue 8 years ago • 3 comments

how in webpack use angular-css

tianlizhao avatar May 12 '16 09:05 tianlizhao

Hi @275287902

I have't tried webpack and angular-css together. What is your webpack setup like?

alexcastillo avatar May 16 '16 22:05 alexcastillo

@275287902 Why would you want to use angular-css with Webpack? Webpack already has tools for this.

If you still want to for whatever reason, #31 will let you do this with the default require(), but you can just use file-loader. That's what it's there for.

edenworky avatar Jul 06 '16 14:07 edenworky

I know this is old, but file-loader doesn't work if you have anything within your css file that needs to be resolved by webpack first (such as background image url).

ShawnMercado avatar Mar 08 '18 23:03 ShawnMercado