page-skeleton-webpack-plugin icon indicating copy to clipboard operation
page-skeleton-webpack-plugin copied to clipboard

你好,请将最新代码发布至NPM吧,目前GitHub和NPM不一致

Open wuhuoshao opened this issue 4 years ago • 5 comments

Description

最后一次更改webpack兼容性的时候 ,我看你们是merge了代码 ,但是没有更新NPM包,请更新下NPM包。 [Description of the bug or feature]

Steps to reproduce

  1. [First step]
  2. [Second step]
  3. [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:

wuhuoshao avatar Mar 05 '20 09:03 wuhuoshao

这项目没人维护吗?

slq0378 avatar Jul 07 '20 01:07 slq0378

我看了几天,他们就是不发布到npm

LiZheGuang avatar Jul 09 '20 06:07 LiZheGuang

同使用了该插件,自己改了改,发到了npm上 => overwrite-skeleton-webpack-plugin。另对于首页将生成的骨架屏代码插入,可通过插件=> insert-skeleton-webpack-plugin

lyraLe avatar Dec 15 '20 08:12 lyraLe

对webpack4.x支持那段代码发上去吧

linsi123 avatar Feb 05 '21 07:02 linsi123

楼主发下包吧

lessgx avatar Jul 06 '21 11:07 lessgx