Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
update output path
Browse files Browse the repository at this point in the history
  • Loading branch information
vigosan committed Feb 16, 2021
1 parent 8bd202f commit 4ccad84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -31,7 +31,7 @@ function buildDistFile(options = {}) {
Promise.all([
buildDistFile({
src: "./src/flystyles.scss",
dest: "./dist/css/flystyles.css",
dest: "./dist/flystyles.css",
}),

[
Expand All @@ -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(() => {
Expand Down

0 comments on commit 4ccad84

Please sign in to comment.