Skip to content

Commit e3b98f1

Browse files
committed
chore: drop built-in poi-plugin support
BREAKING CHANGE: Use module: `poi-plugin-loading-screen` to instead
1 parent 8df6848 commit e3b98f1

File tree

2 files changed

+3
-93
lines changed

2 files changed

+3
-93
lines changed

README.md

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please consider starring the project to show your ❤️ and support.
1313

1414
## Introduction
1515

16-
Display webpack building progress in the browser.
16+
Webpack terminal information to browser.
1717

1818
**_This plugin is recommended for webpack-based app bundler._**
1919

@@ -23,6 +23,8 @@ Display webpack building progress in the browser.
2323
yarn add loading-screen -D
2424
```
2525

26+
Using poi? Go [poi-plugin-loading-screen](https://github.com/evillt/poi-plugin-loading-screen)
27+
2628
## Usage
2729

2830
In your `webpack.config.js`:
@@ -35,43 +37,6 @@ module.exports = {
3537
}
3638
```
3739

38-
## Frameworks Support
39-
40-
### poi
41-
42-
In your `poi.config.js`:
43-
44-
```js
45-
module.exports = {
46-
plugins: ['loading-screen/poi']
47-
}
48-
```
49-
50-
### vue/cli
51-
52-
Recommended to use it in `vue.config.js`:
53-
54-
> Because vue/cli exposed plugin api is not as much as poi.
55-
56-
```js
57-
const LoadingScreenPlugin = require('loading-screen')
58-
59-
module.exports = {
60-
chainWebpack(config) {
61-
config.plugin('loading-screen').use(LoadingScreenPlugin, [
62-
{
63-
logo: 'https://vuejs.org/images/logo.png', // vue logo
64-
theme: {
65-
client: '#4fc08d' // vue color
66-
},
67-
port: 8080,
68-
callback() {}
69-
}
70-
])
71-
}
72-
}
73-
```
74-
7540
## API
7641

7742
`new LoadingScreenPlugin(options)`

poi.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)