parent
34d7eca8f3
commit
5a534e4010
|
@ -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",
|
||||
|
|
|
@ -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/";
|
||||
|
@ -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) => {
|
||||
|
|
|
@ -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);
|
||||
|
@ -43,5 +41,3 @@ declare module "cpx" {
|
|||
public watch(): void;
|
||||
}
|
||||
}
|
||||
|
||||
export as namespace Cpx;
|
||||
|
|
Loading…
Reference in New Issue