Skip to content

Commit

Permalink
fix: issues with react-components and unused next output (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jan 25, 2023
1 parent 89ea550 commit 44d4ba4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
3 changes: 1 addition & 2 deletions output/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"sideEffects": false,
"scripts": {
"tsc": "tsc -p . --sourceMap false",
"copy:sass": "cpr src dist -o -f \"(.ts|.tsx)$\"",
"build": "npm-run-all tsc copy:sass",
"build": "npm-run-all tsc",
"mv:dist": "cpr dist ../../build-outputs/react/dist -o",
"mv:package.json": "cpr package.json ../../build-outputs/react/package.json -o",
"mv:readme": "cpr README.md ../../build-outputs/react/README.md -o",
Expand Down
2 changes: 0 additions & 2 deletions packages/components/scripts/post-build/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const Vue = require('./vue');
const WebComponents = require('./wc');
const Angular = require('./angular');
const Next = require('./next');
const React = require('./react');
const PowerApps = require('./power-apps');
const Svelte = require('./svelte');
Expand All @@ -11,7 +10,6 @@ const CopyFiles = require('./copy-files');
Vue();
Svelte();
Angular();
Next();
React();
WebComponents();

Expand Down
19 changes: 0 additions & 19 deletions packages/components/scripts/post-build/next.js

This file was deleted.

2 changes: 1 addition & 1 deletion showcases/next-showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"copy:components": "cpr ../../packages/components/output/next/src/components ./components -o",
"copy:components": "cpr ../../packages/components/output/react/src/components ./components -o",
"prebuild": "npm run copy:components",
"predev": "npm run copy:components",
"prestart": "npm run copy:components",
Expand Down

0 comments on commit 44d4ba4

Please sign in to comment.