Skip to content

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Sep 8, 2023
1 parent 34d7eca commit 5a534e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
"@sentry/webpack-plugin": "^2.0.0",
"@svgr/webpack": "^5.5.0",
"@testing-library/react": "^12.1.5",
"@types/cpx": "1.5.0",
"@types/jest": "^29.0.0",
"@types/jitsi-meet": "^2.0.2",
"@types/jsrsasign": "^10.5.4",
Expand Down
6 changes: 3 additions & 3 deletions scripts/copy-res.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import parseArgs from "minimist";
import * as chokidar from "chokidar";
import * as fs from "node:fs";
import * as _ from "lodash";
import * as Cpx from "cpx";
import _ from "lodash";
import { Cpx } from "cpx";
import * as loaderUtils from "loader-utils";

const I18N_BASE_PATH = "src/i18n/strings/";
Expand Down Expand Up @@ -67,7 +67,7 @@ function next(i: number, err?: Error): void {
const source = ent[0];
const dest = ent[1];
const opts = ent[2] || {};
const cpx = new Cpx.Cpx(source, dest);
const cpx = new Cpx(source, dest);

if (verbose) {
cpx.on("copy", (event) => {
Expand Down
4 changes: 0 additions & 4 deletions src/@types/cpx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

import "cpx";

declare module "cpx" {
export class Cpx {
public constructor(source: string, outDir: string, options?: object);
Expand Down Expand Up @@ -43,5 +41,3 @@ declare module "cpx" {
public watch(): void;
}
}

export as namespace Cpx;

0 comments on commit 5a534e4

Please sign in to comment.