Skip to content

Commit

Permalink
chore: release 0.4.0 close #1
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Mar 19, 2021
1 parent 5071612 commit c7d95d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# [0.4.0](https://github.com/anncwb/vite-plugin-svg-icons/compare/v0.3.5...v0.4.0) (2021-03-19)

### Bug Fixes

- support base ([5071612](https://github.com/anncwb/vite-plugin-svg-icons/commit/5071612cc03719f23f2b484331a814c9d8ba4ff1))

## [0.3.5](https://github.com/anncwb/vite-plugin-svg-icons/compare/v0.3.0...v0.3.5) (2021-03-16)

### Bug Fixes
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ interface FileStats {
export default (opt: ViteSvgIconsPlugin): Plugin => {
const cache = new Map<string, FileStats>();
let isBuild = false;
let base: string;

const options = {
svgoOptions: true,
Expand All @@ -67,7 +66,6 @@ export default (opt: ViteSvgIconsPlugin): Plugin => {
name: 'vite:svg-icons',
configResolved(resolvedConfig) {
isBuild = resolvedConfig.isProduction || resolvedConfig.command === 'build';
const base = resolvedConfig.base;
debug('resolvedConfig:', resolvedConfig);
},
resolveId(importee) {
Expand Down

0 comments on commit c7d95d4

Please sign in to comment.