Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wuhuoshao opened this issue Mar 5, 2020 · 5 comments

Comments

@wuhuoshao
Copy link

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:
@slq0378
Copy link

slq0378 commented Jul 7, 2020

这项目没人维护吗?

@LiZheGuang
Copy link

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

@lyraLe
Copy link

lyraLe commented Dec 15, 2020

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

@linsi123
Copy link

linsi123 commented Feb 5, 2021

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

@lessgx
Copy link

lessgx commented Jul 6, 2021

楼主发下包吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants