css-loader可以只返回一个字符串吗?

时间:2015-04-28 08:37:02

标签: javascript webpack

在我的webpack配置中,如果我想使用video#bgvid { position: absolute; right: 0; bottom: 0; left:0; top: 0; z-index: -100; background: url(../images/intro.jpg) center no-repeat; width: 100%; height: 100%; margin: auto; } video { display: block; display: block; margin: 0 auto;} video#bgvid { transition: 1s opacity; } .stopfade { opacity: .5; } /* mobile */ @media screen and (max-device-width: 800px) { body { background: url(../images/intro.jpg) #000 no-repeat center center fixed; } #bgvid { display: none; } } 然后使用css-loader我如何让file-loader执行它的魔法,然后仍然返回{{1}想要它可以将其保存为css-loader

示例配置

file-loader

可以吗?

0 个答案:

没有答案