Skip to content

Commit

Permalink
Merge pull request #35 from marcomontalbano/website-fix
Browse files Browse the repository at this point in the history
Fix website generation
  • Loading branch information
marcomontalbano authored Feb 9, 2020
2 parents 826832d + e19345e commit 90faeca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/website/.figmaexportrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
const { camelCase } = require('@figma-export/output-components-utils');

module.exports = {

commands: [
['components', {
fileId: 'FP7lqd1V00LUaT5zvdklkkZr',
fileId: 'e7Jl5rSEwq7ekSyFJFxA2D',
onlyFromPages: ['Octicons'],
outputters: [
require('../output-components-as-es6')({
output: './output/es6-dataurl-octicons',
variablePrefix: 'icon',
getVariableName: (options) => camelCase(`icon ${options.componentName}`),
useDataUrl: true,
})
]
Expand Down
1 change: 1 addition & 0 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@babel/core": "~7.8.3",
"@babel/plugin-transform-react-jsx": "~7.8.3",
"@figma-export/cli": "^1.2.0",
"@figma-export/output-components-utils": "^1.2.0",
"babel-plugin-jsx-pragmatic": "~1.0.2",
"parcel-bundler": "~1.12.4",
"sass": "~1.25.0"
Expand Down

0 comments on commit 90faeca

Please sign in to comment.