Skip to content

Commit

Permalink
Merge pull request #69 from cosmology-tech/fix-asset-build
Browse files Browse the repository at this point in the history
fix assets build with common js
  • Loading branch information
Zetazzz authored Feb 26, 2024
2 parents c7eb993 + 7f30cfa commit 74b5abe
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 74b5abe

Please sign in to comment.