能否具体说一下,grunt对seajs(2.0+)模块内部require的css文件的打包方法 #1108

Closed
187 opened this Issue Feb 25, 2014 · 1 comment

Projects

None yet

3 participants

@187

这篇文章写的很好
#672
但是在新的2.0+版本中的打包css方法只是一笔带过
image
查了下style插件的使用
seajs/seajs-style#1
image

貌似创建的是style样式插入到文档中,并非link

能否具体说下grunt打包seajs模块内部依赖的css文件?如
a.js中的
require("./style.css")

@popomore
seajs member

可以参考下 spm-build

这里有编译过程的详解 http://docs.spmjs.org/doc/build-task#css-文件

@popomore popomore added the question label Feb 25, 2014
@army8735 army8735 closed this Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment