更新打包配置
parent
742f3f0292
commit
f1bcf9fad8
|
@ -28,7 +28,6 @@ const jsOpt = {
|
|||
]
|
||||
}
|
||||
const cssOpt = {
|
||||
// includePaths: ['src/css/'],
|
||||
outputStyle: 'compressed'
|
||||
}
|
||||
|
||||
|
@ -62,7 +61,6 @@ const compileCss = (entry, output) => {
|
|||
chokidar
|
||||
.watch(sourceDir)
|
||||
.on('all', (act, file) => {
|
||||
return
|
||||
if (act === 'add' || act === 'change') {
|
||||
let entry = file
|
||||
let output = file.replace('src/', 'dist/')
|
||||
|
|
|
@ -12,7 +12,6 @@ const sourceDir = path.resolve(__dirname, 'src')
|
|||
const buildDir = path.resolve(__dirname, 'dist')
|
||||
|
||||
const cssOpt = {
|
||||
// includePaths: ['src/css/'],
|
||||
outputStyle: 'compressed'
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ const jsOpt = {
|
|||
]
|
||||
}
|
||||
const cssOpt = {
|
||||
// includePaths: ['src/css/'],
|
||||
outputStyle: 'compressed'
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue