为啥打包的样式没有了
wuhong5478 opened this issue · 3 comments
wuhong5478 commented
wuhong5478 commented
样式打包不了吗
paulloo commented
const resolveFile = path => NodePath.resolve(__dirname, path)
RollupCopy({
targets: [
{
src: resolveFile('src/styles'),
dest: resolveFile('dist')
}
],
verbose: true
})
上面是我之前的 代码,改成一下代码就OK了
RollupCopy({
targets: [
{
src: 'src/styles',
dest: 'dist'
}
],
verbose: true
})