npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rollup-vuecomponent-test

v1.0.2

Published

基于vue和rollup打包测试性能webpack对比

Downloads

8

Readme

rollup-vueComponent-test

介绍

测试 vue 组件 rollup 打包 性能测试

软件架构

软件架构说明 rollup-vueComponent-test |-- undefined |-- .babelrc |-- .gitignore |-- package.json |-- README.en.md |-- README.md |-- rollup.config copy.js |-- rollup.config.js |-- yarn.lock |-- build // build文件是 rollup 打包的不同环境的配置文件 | |-- rollup.config.base.js | |-- rollup.config.browser.js | |-- rollup.config.es.js | |-- rollup.config.umd.js |-- dist // dist包rollup框架打包——具体看是否可以打包vue编写的插件 | |-- rollup-vue-component-test.css | |-- rollup-vue-component-test.esm.js | |-- rollup-vue-component-test.min.js | |-- rollup-vue-component-test.umd.js |-- example // vue2x 项目 引入打包好的插件测试demo | |-- .babelrc | |-- .editorconfig | |-- .gitignore | |-- .postcssrc.js | |-- index.html | |-- package-lock.json | |-- package.json | |-- README.md | |-- build | | |-- build.js | | |-- check-versions.js | | |-- logo.png | | |-- utils.js | | |-- vue-loader.conf.js | | |-- webpack.base.conf.js | | |-- webpack.dev.conf.js | | |-- webpack.prod.conf.js | |-- config | | |-- dev.env.js | | |-- index.js | | |-- prod.env.js | |-- dist | | |-- index.html | | |-- static | | |-- css | | | |-- app.989da27dd66b8400260a39f229192d66.css | | | |-- app.989da27dd66b8400260a39f229192d66.css.map | | |-- js | | |-- app.65bf6cc000d66f77ee46.js | | |-- manifest.2ae2e69a05c33dfc65f8.js | |-- src | | |-- App.vue | | |-- main.js | | |-- assets | | | |-- logo.png | | |-- components | | |-- HelloWorld.vue | |-- static | |-- .gitkeep |-- project-one // Vue3x项目 引入 打包好的项目 | |-- .browserslistrc | |-- .gitignore | |-- babel.config.js | |-- package-lock.json | |-- package.json | |-- README.md | |-- dist | | |-- favicon.ico | | |-- index.html | | |-- css | | | |-- app.248e3957.css | | |-- img | | | |-- logo.82b9c7a5.png | | |-- js | | |-- about.a9c74c0e.js | | |-- about.a9c74c0e.js.map | | |-- app.8b18f682.js | | |-- app.8b18f682.js.map | | |-- chunk-vendors.56faa911.js | | |-- chunk-vendors.56faa911.js.map | |-- public | | |-- favicon.ico | | |-- index.html | |-- src | |-- App.vue | |-- main.js | |-- assets | | |-- logo.png | |-- components | | |-- HelloWorld.vue | |-- router | | |-- index.js | |-- store | | |-- index.js | |-- views | |-- About.vue | |-- Home.vue |-- src // src 内部是vue编写的插件 |-- index.js // index.js 引入components文件夹内部 |-- components | |-- list | | |-- index.js | | |-- main.vue | |-- list-item | |-- index.js | |-- main.vue |-- utils |-- util.js

安装教程

本地打包

  1. yarn
  2. yarn build

查看演示 example 或者 project-one 具体查看

  1. cd example //打开 demo 文件夹
  2. npm i // 安装依赖
  3. npm run dev // 运行演示

使用说明

  1. 本插件仅供个人研究rollup 和vue的版本兼容;
  2. rollup 和 webpack 打包vue 的数度比较
  3. 补充说明: 如果有什么不对的可以指正,欢迎各位指导;

参与贡献

  1. Mr.liu
参考文档:https://github.com/blryli/vue-rollup-component-template