【文件属性】:
文件名称:webpack-boilerplate:Webpack 4样板(babel,eslint,prettier,jest,sass,postcss,hmr,browsersync)
文件大小:180KB
文件格式:ZIP
更新时间:2021-01-31 02:46:01
boilerplate babel webpack postcss eslint
Webpack样板
适用于客户端应用程序的高度可扩展且简单的webpack样板。
带有 , , 的该样板的旧版本
快速开始
创建一个.env文件。 然后:
# install dependencies
$ yarn
# serve with hot reload
$ yarn build:watch
# or
$ yarn dev
# serve with hot reload and inspect webpack dev server
# https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js
$ yarn dev:inspect
# build for production with minification
$ yarn build
# run tests
$ yarn test
# run tests and watch
$ yarn test:watch
# run test coverage report
$ yarn test:coverage
注意:要
【文件预览】:
webpack-boilerplate-master
----.env.defaults(114B)
----postcss.config.js(61B)
----public()
--------.gitkeep(0B)
----yarn.lock(437KB)
----.browserslistrc(50B)
----.eslintrc.js(646B)
----webpack.config.js(8KB)
----src()
--------index.html(336B)
--------styles()
--------app()
----babel.config.js(832B)
----lib()
--------.gitkeep(0B)
----.env.schema(33B)
----test()
--------CSSStub.js(18B)
--------FileStub.js(32B)
--------jest.config.json(696B)
----.prettierrc(415B)
----README.md(3KB)
----.editorconfig(147B)
----.gitignore(73B)
----.eslintignore(43B)
----package.json(3KB)
----.nvmrc(4B)
网友评论
相关文章
- webpack-simple-boilerplate:Webpack 5样板(SASS,PostCSS,ESLint,Prettier,Styleint,Babel,React,TS)
- webpack-boilerplate:带Babel,SASS,PostCSS,Vue,Tailwind和Pug的Webpack 4模板
- svelte-boilerplate:具有Webpack,Babel,PostCSS,Sass,Fetch,Jest,.Env,EsLint的Svelte应用程序样板
- react-webpack-starter:React(+ react-router v4),Webpack,HMR,Babel,TypeScript,PostCSS,Material Design,RxJS,Prettier