From 5a3d533b122f06bac70269a1393499ba6f05d694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sun, 31 Mar 2024 23:47:21 +0200 Subject: [PATCH] Switched gulpfile to ESM --- gulpfile.js | 9 ++++----- package.json | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 0d92d19..6202c7b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,8 +1,7 @@ -const gulp = require( 'gulp' ); - -const merge = require( 'merge-stream' ); -const replace = require( 'gulp-replace' ); -const shell = require( 'gulp-shell' ); +import gulp from 'gulp'; +import replace from 'gulp-replace'; +import shell from 'gulp-shell'; +import merge from 'merge-stream'; gulp.task( 'build:deps:composer:scoper', diff --git a/package.json b/package.json index 0cb5a61..73c7f22 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "type": "git", "url": "git+https://github.com/skaut/skaut-fio-bank-transactions.git" }, + "type": "module", "scripts": { "clean": "rimraf dist/*", "prebuild": "npm run clean",