Skip to content

Commit

Permalink
feat: add search build to build
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva committed Apr 4, 2023
1 parent 1278c09 commit 1b5f03d
Show file tree
Hide file tree
Showing 5 changed files with 19,575 additions and 19,115 deletions.
6 changes: 5 additions & 1 deletion Makefile
@@ -1,5 +1,5 @@
# use tabs please
build: spacers-tachyons typography-tachyons color-tachyons bundle next-build
build: spacers-tachyons typography-tachyons color-tachyons bundle search next-build

spacers-tachyons:
@echo "Building spacers-tachyons"
Expand All @@ -15,6 +15,10 @@ color-tachyons:
@echo "Building color-tachyons"
node ./build/tachyons.js

search:
@echo "Building search"
node ./components/search/build.js

bundle:
@echo "Building bundle"
npx postcss --config config/postcss.config.js src/index.css -o dist/index.css
Expand Down
2 changes: 1 addition & 1 deletion components/search/build.js
Expand Up @@ -2,7 +2,7 @@ const path = require("path");
const Fuse = require("fuse.js");
const fs = require("fs-extra");
const postcss = require("postcss");
const getProcesedModule = require("../util/getProcessedModule");
const getProcesedModule = require("./getProcessedModule");
const selectors = [];

getProcesedModule(path.resolve(__dirname, "../../src/index.css")).then(res => {
Expand Down

0 comments on commit 1b5f03d

Please sign in to comment.