Skip to content

Commit

Permalink
Merge branch 'diplodoc-platform:master' into remove-type-column
Browse files Browse the repository at this point in the history
  • Loading branch information
zorox112-practicum authored Apr 9, 2024
2 parents 787f338 + 66a4e37 commit fbbc6fb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 361 deletions.
4 changes: 2 additions & 2 deletions build/includer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const {globSync} = require('glob');
const glob = require('glob');
const path = require('node:path');
const esbuild = require('esbuild');

const IN_PATH = path.resolve('src', 'includer');
const OUT_PATH = 'includer';
const FORMATS = ['cjs', 'esm'];

const tsFiles = globSync(`${IN_PATH}/**/*.ts`);
const tsFiles = glob.sync(`${IN_PATH}/**/*.ts`);

const build = (files, format) => Promise.all(files.map((name) => {
const newFilePath = path.resolve(OUT_PATH, format, name.substring(IN_PATH.length + 1));
Expand Down
Loading

0 comments on commit fbbc6fb

Please sign in to comment.