Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
chore: release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 28, 2022
1 parent 617472b commit fdfba40
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [2.0.0](https://github.com/anncwb/vite-plugin-style-import/compare/v1.4.0...v2.0.0) (2022-01-29)

### Bug Fixes

- added support for running from an es module ([#62](https://github.com/anncwb/vite-plugin-style-import/issues/62)) ([52db3bd](https://github.com/anncwb/vite-plugin-style-import/commit/52db3bd56023365f28b26d05479adc6c0fd71f58))

### Features

- add vxe-table resolve ([#57](https://github.com/anncwb/vite-plugin-style-import/issues/57)) ([4386c3a](https://github.com/anncwb/vite-plugin-style-import/commit/4386c3a3d50cec3df9163330f4b47901e5764b34))

### Performance Improvements

- remove resolveComponent and transformComponentImportName ([62e52d8](https://github.com/anncwb/vite-plugin-style-import/commit/62e52d846028be1da2e8d4323f49ea578034c09c))

## [1.4.1](https://github.com/anncwb/vite-plugin-style-import/compare/v1.4.0...v1.4.1) (2021-12-28)

### Bug Fixes
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ import 'element-plus/lib/theme-chalk/el-button.css';

```ts
import { UserConfigExport } from 'vite'
import styleImport, {
import {
createStyleImportPlugin,
AndDesignVueResolve,
VantResolve,
ElementPlusResolve,
Expand All @@ -81,7 +82,7 @@ export default (): UserConfigExport => {
},
},
plugins: [
styleImport({
createStyleImportPlugin({
resolves: [
AndDesignVueResolve(),
VantResolve(),
Expand Down
5 changes: 3 additions & 2 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ import 'element-plus/lib/theme-chalk/el-button.css';

```ts
import { UserConfigExport } from 'vite'
import styleImport, {
import {
createStyleImportPlugin,
AndDesignVueResolve,
VantResolve,
ElementPlusResolve,
Expand All @@ -81,7 +82,7 @@ export default (): UserConfigExport => {
},
},
plugins: [
styleImport({
createStyleImportPlugin({
resolves:[
AndDesignVueResolve(),
VantResolve(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-style-import-monorepo",
"version": "1.4.1",
"version": "2.0.0",
"private": true,
"license": "MIT",
"author": "Vben",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-style-import",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"description": "A plug-in that imports component library styles on demand",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
Expand Down

0 comments on commit fdfba40

Please sign in to comment.