Skip to content

Commit

Permalink
fix(ffe-icons-react): fix bug med icon ikke eksportert
Browse files Browse the repository at this point in the history
  • Loading branch information
HeleneKassandra committed Dec 18, 2023
1 parent ee62294 commit 12174e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ffe-icons-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"files": [
"lib",
"types",
"es"
"es",
"src"
],
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/ffe-icons-react/scripts/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const readIconFiles = require('./readIconFiles');
const generateJSXIcons = require('./generateJSXIcons');
const generateModuleIndex = require('./generateModuleIndex');
const generateTypeDef = require('./generateTypeDef');
const Icon = require('./Icon');

const generateSources = (iconFilesPath, outDir) => {
mkdirp.sync(outDir);
Expand All @@ -16,4 +17,5 @@ const generateSources = (iconFilesPath, outDir) => {

module.exports = {
generateSources,
Icon,
};

0 comments on commit 12174e3

Please sign in to comment.