Skip to content

Commit

Permalink
fix assets build with common js
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Feb 26, 2024
1 parent c7eb993 commit 7f30cfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 41 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/update.yml

This file was deleted.

10 changes: 5 additions & 5 deletions packages/assets/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { getAssetLists } from '@chain-registry/utils';
import { assets, chains, ibc } from 'chain-registry';
import { rmSync, writeFileSync } from 'fs';
import { mkdirpSync } from 'mkdirp';
import path from 'path';
const { getAssetLists } = require('@chain-registry/utils');
const { assets, chains, ibc } = require('chain-registry');
const { rmSync, writeFileSync } = require('fs');
const { mkdirpSync } = require('mkdirp');
const path = require('path');

const NON_COSMOS_NETWORK_TYPE = 'noncosmos';

Expand Down

0 comments on commit 7f30cfa

Please sign in to comment.