Skip to content

Commit

Permalink
Aug 4, 2024, 1:10 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 4, 2024
1 parent b2837e1 commit 15239ec
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export default [
// customAliases,
json(),
typescript(), // Compile TypeScript files
// babel({
// plugins: ['@babel/plugin-syntax-import-assertions'],
// babelHelpers: 'bundled',
// presets: ['@babel/preset-env'],
// extensions: ['.js', '.ts'],
// }),
babel({
plugins: ['@babel/plugin-syntax-import-assertions'],
babelHelpers: 'bundled',
presets: ['@babel/preset-env'],
extensions: ['.js', '.ts'],
}),

// Handling extension issues
addJsExtension(),
Expand All @@ -52,13 +52,13 @@ export default [
// preferBuiltins: true
// }),
],
external: [
/^@polkadot\//,
// external: [
// /^@polkadot\//,
// /^@acala-network\//,
'axios',
'lodash',
'ethers'
]
// 'axios',
// 'lodash',
// 'ethers'
// ]
},
{
input: 'src/index.ts',
Expand Down

0 comments on commit 15239ec

Please sign in to comment.