Gathering detailed insights and metrics for @maiscrm/html-skeleton-webpack-plugin
Gathering detailed insights and metrics for @maiscrm/html-skeleton-webpack-plugin
Gathering detailed insights and metrics for @maiscrm/html-skeleton-webpack-plugin
Gathering detailed insights and metrics for @maiscrm/html-skeleton-webpack-plugin
This is a plugin to help webpack inject skeleton element and CSS asset into html.
npm install @maiscrm/html-skeleton-webpack-plugin
Typescript
Module System
Node Version
NPM Version
JavaScript (73.74%)
Vue (26.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
12 Commits
2 Watchers
7 Branches
2 Contributors
Updated on Apr 17, 2023
Latest Version
0.1.1
Package Id
@maiscrm/html-skeleton-webpack-plugin@0.1.1
Unpacked Size
9.24 kB
Size
3.66 kB
File Count
6
NPM Version
6.13.4
Node Version
12.14.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This is a plugin to help webpack to inject skeleton element and CSS asset into html.
webpack.config.js
1const HtmlSkeletonWebpackPlugin = require('html-skeleton-webpack-plugin'); 2 3module.exports = { 4 entry: 'index.js', 5 output: { 6 path: __dirname + '/dist', 7 filename: 'index_bundle.js' 8 }, 9 plugins: [ 10 new HtmlWebpackPlugin(), 11 new HtmlSkeletonWebpackPlugin({ 12 cssFilename: 'css/[name].[contenthash].css', 13 template: path.resolve(__dirname, 'src/skeleton.vue'), 14 }), 15 ] 16}
index.html
1<!DOCTYPE html> 2<html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Webpack App</title> 6 </head> 7 <body> 8 <div id="app"> 9 <!-- inject-skeleton --> 10 </div> 11 </body> 12</html>
This will inject skeleton element into <!-- inject-skeleton --> and insert CSS assets into html head
Name | Type | Default | Description |
---|---|---|---|
cssFilename | {String} | 'sekeleton.[contenthash].css' | The file to write the CSS asset to. Defaults to sekeleton.[contenthash].css . |
template | {String} | Relative or absolute path to the skeleton template. By default it will use the default loading template. |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/11 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
14 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More