| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,5 @@ | |||
| 1 | 1 | module.exports = { | |
| 2 | - buildDir: __dirname + '/public', | ||
| 3 | - wwwDir: __dirname + '/public/', | ||
| 4 | - publicPath: '/public/styleguide/', | ||
| 2 | + // target the UIKit installed / symlinked under node_modules | ||
| 3 | + buildDir: __dirname + '/node_modules/@pattern-lab/uikit-workshop/dist', | ||
| 5 | 4 | // noViewAll: true, | |
| 6 | 5 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | ], | |
| 14 | 14 | "main": "patternlab-config.json", | |
| 15 | 15 | "scripts": { | |
| 16 | - "build:uikit": "npm run build --prefix node_modules/@pattern-lab/uikit-workshop -- --patternlabrc $INIT_CWD/.patternlabrc.js", | ||
| 16 | + "build:uikit": "cross-env-shell PL_CONFIG_PATH='${INIT_CWD}/.patternlabrc.js' npm run build --prefix node_modules/@pattern-lab/uikit-workshop -- --patternlabrc '$PL_CONFIG_PATH'", | ||
| 17 | 17 | "build": "patternlab build --config ./patternlab-config.json", | |
| 18 | 18 | "help": "patternlab --help", | |
| 19 | 19 | "install": "patternlab install --config ./patternlab-config.json", | |
@@ -22,6 +22,7 @@ | |||
| 22 | 22 | "version": "patternlab --version" | |
| 23 | 23 | }, | |
| 24 | 24 | "dependencies": { | |
| 25 | + "cross-env": "^6.0.3", | ||
| 25 | 26 | "@pattern-lab/cli": "^1.0.1", | |
| 26 | 27 | "@pattern-lab/core": "^3.0.3", | |
| 27 | 28 | "@pattern-lab/engine-twig-php": "^3.0.3", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments