diff --git a/lib/prod.js b/lib/prod.js index c8a2227..3ff8c94 100644 --- a/lib/prod.js +++ b/lib/prod.js @@ -106,10 +106,13 @@ export default function compile(root = '', dist = '', conf = {}) { case '.css': { let code = compileScss(it.path) - if (!it.name.startsWith('assets')) { - it.name = 'assets/' + it.name - } - fs.echo(code, join(dist, it.name.replace(/\.scss$/, '.css'))) + // if (!it.name.startsWith('assets')) { + // it.name = 'assets/' + it.name + // } + fs.echo( + code, + join(dist, 'assets/', it.name.replace(/\.scss$/, '.css')) + ) } break diff --git a/package.json b/package.json index 9d0d6ec..e9a706f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fite", "type": "module", - "version": "1.1.3", + "version": "1.1.4", "bin": { "fite": "index.js" },