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

ehdev-configer-normal

v0.1.5

Published

jarvis's config for multiple pages project

Downloads

12

Readme

EHDEV-CONFIGER-NORMAL


Build Status npm npm node GitHub tag David David

配置说明

| 配置项 | 默认值 | 说明 | |---|---| ---| | buildPath | dist | 输出目录 | | enableHotModuleReplacement | true | 启用热更新 | |framework|raect|依赖框架,目前只对 react 有做优化,包括引入 react-hot-loader| |htmlWebpackPlugin|{inject: true, chunksSortMode: 'auto', cache: true, showErrors: true}|htmlWebpackPlugin 插件配置, 参考 https://github.com/jantimon/html-webpack-plugin#configuration| | browserSupports | last 2 version | 浏览器支持配置,影响 babelautoprefixer, 配置参考:https://github.com/ai/browserslist | | dll | { enable: false, enclude: [] } | 是否启用 dll,enclude 提供打入 dll 包的模块 | | providePluginConfig | {} | 主要用来支持 jQuery 依赖全局挂载的老模块, 参考 https://webpack.js.org/plugins/provide-plugin/ | | babelUseBuiltIns | true | babel-preset-env#usebuiltins 配置 | | https | false | 开发环境的 https 支持 | | useFolderAsHtmlName | false | 使用 page 下的目录名作为页面名 | | publicPath | ../ | webpackConfig.output.publicPath, 只在构建时生效 | | contentBase | undefined | 配置 devServer 的 contentBase,默认包含当前项目的输出目录,不需要配置 | | commonVendors | [] | 所有 entry 共享的 vendors | | ignorePages | [] | 配置不需要打包的入口,取 pages 下的子目录名 |

使用说明

svg 用法

引用 svg 路径后加上 ?reactComponnet ,svg 会被转换成 react component 否则 svg 会被当成普通的资源文件,使用 file-loader 加载

import Foo from './foo.svg?reactComponnet';
<Foo />