Skip to content

Commit

Permalink
chore: update asset build (#2711)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx authored Sep 25, 2024
1 parent c9eabf4 commit 4b5bbaf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions config/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ const getWebpackConfig = (name, library) => {
},
],
},
{
test: /\.png$/,
type: 'asset/inline',
},
],
},
plugins: [
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Graph, NodeData } from '@antv/g6';
import React, { FC } from 'react';
import styled from 'styled-components';
import arrow from '../../../../assets/arrow.png';
import arrow from '../../../assets/arrow.png';

interface ArrowCountIconProps extends Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/charts-util",
"version": "0.0.1-alpha.6",
"version": "0.0.1-alpha.7",
"description": "charts utils",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down

0 comments on commit 4b5bbaf

Please sign in to comment.