page-skeleton-webpack-plugin
page-skeleton-webpack-plugin copied to clipboard
你好,请将最新代码发布至NPM吧,目前GitHub和NPM不一致
Description
最后一次更改webpack兼容性的时候 ,我看你们是merge了代码 ,但是没有更新NPM包,请更新下NPM包。 [Description of the bug or feature]
Steps to reproduce
- [First step]
- [Second step]
- [and so on...]
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Link to an example: [If you're reporting a bug that's not reproducible, please try to reproduce it on JSFiddle, JS Bin, CodePen or a similar service and paste a link here]
Plugin configration
for example:
new SkeletonPlugin({
pathname: path.resolve(__dirname, `./src`),
port: '7890',
loading: 'spin',
svg: {
color: '#EFEFEF',
shape: 'circle',
shapeOpposite: ['.red']
},
image: {
shape: 'rect', // `rect` | `circle`
color: '#EFEFEF',
shapeOpposite: ['.white']
},
pseudo: {
color: '#EFEFEF', // or transparent
shape: 'circle', // circle | rect
shapeOpposite: ['.apple', '.pen']
},
button: {
color: '#EFEFEF',
excludes: ['.center a']
},
defer: 5000,
excludes: [],
remove: [],
hide: ['.ag-text', '.ag-image'],
grayBlock: ['#header'],
cssUnit: 'vw',
cookies: [{
name: 'SID',
value: 'xxxxxx',
url: 'https://xx.xxx.xx'
}, {
name: 'USERID',
value: 'xxxxxx',
url: 'https://xx.xxx.xx'
}]
})
Versions
- Page Skeleton:
- Webpack:
这项目没人维护吗?
我看了几天,他们就是不发布到npm
同使用了该插件,自己改了改,发到了npm上 => overwrite-skeleton-webpack-plugin。另对于首页将生成的骨架屏代码插入,可通过插件=> insert-skeleton-webpack-plugin
对webpack4.x支持那段代码发上去吧
楼主发下包吧