This commit is contained in:
Kagami Sascha Rosylight 2023-07-09 01:10:33 +02:00
parent 7e9b3441eb
commit a831411eea

View File

@ -2,14 +2,14 @@
* Gulp tasks * Gulp tasks
*/ */
const fs = require('fs'); import * as fs from 'node:fs';
const gulp = require('gulp'); import gulp from 'gulp';
const replace = require('gulp-replace'); import replace from 'gulp-replace';
const terser = require('gulp-terser'); import terser from 'gulp-terser';
const cssnano = require('gulp-cssnano'); import cssnano from 'gulp-cssnano';
const locales = require('./locales'); import locales from './locales/index.js';
const meta = require('./package.json'); import meta from './package.json' assert { type: "json" };
gulp.task('copy:backend:views', () => gulp.task('copy:backend:views', () =>
gulp.src('./packages/backend/src/server/web/views/**/*').pipe(gulp.dest('./packages/backend/built/server/web/views')) gulp.src('./packages/backend/src/server/web/views/**/*').pipe(gulp.dest('./packages/backend/built/server/web/views'))