From 4ccad840440f3567e9e3e229a72c196fa14469ea Mon Sep 17 00:00:00 2001 From: Vicent Gozalbes Date: Tue, 16 Feb 2021 11:53:18 +0100 Subject: [PATCH] update output path --- build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.js b/build.js index 4bc383e..43795c9 100644 --- a/build.js +++ b/build.js @@ -16,7 +16,7 @@ function buildDistFile(options = {}) { mkdirp(getDirName(options.dest), function (err) { if (err) reject(err); - postcss([autoprefixer]) + postcss([autoprefixer()]) .process(result.css) .then((result) => { fs.writeFile(options.dest, result.css, function (err) { @@ -31,7 +31,7 @@ function buildDistFile(options = {}) { Promise.all([ buildDistFile({ src: "./src/flystyles.scss", - dest: "./dist/css/flystyles.css", + dest: "./dist/flystyles.css", }), [ @@ -57,7 +57,7 @@ Promise.all([ ].forEach(function (component) { buildDistFile({ src: `./src/components/${component}/${component}.scss`, - dest: `./dist/css/components/${component}.css`, + dest: `./dist/components/${component}.css`, }); }), ]).then(() => {