Skip to content

Commit

Permalink
fix(plasma): fix the build and remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixBlaisThon committed Apr 26, 2024
1 parent 8484fc8 commit af4cfc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"mock/index.js"
],
"scripts": {
"build": "pnpm generate && node ../../scripts/build",
"build": "pnpm generate && node ../../scripts/build && pnpm build:mock",
"build:mock": "swc ./mock/index.tsx -o ./mock/index.js --config-file ./mock/.swcrc",
"clean": "rimraf dist",
"generate": "node ./bin/index.js",
Expand Down
1 change: 0 additions & 1 deletion packages/website/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default defineConfig({
alias: [
{find: /@examples\/(.*)/, replacement: path.resolve(__dirname, 'src/examples/$1')},
{find: '@demo', replacement: path.resolve(__dirname, 'src/building-blocs/Demo.tsx')},
// {find: '@coveord/plasma-react-icons', replacement: path.resolve(__dirname, './node_modules/@coveord/plasma-react-icons/dist/esm/src/index.js')},
],
},
});

0 comments on commit af4cfc6

Please sign in to comment.