Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ymfe/ykit
基于 Webpack 的灵活快速的打包工具,帮助稳定高效构建现代 JavaScript 应用。
https://github.com/ymfe/ykit
build-tool compiler javascript module-loader webpack ykit ymfe
Last synced: 6 days ago
JSON representation
基于 Webpack 的灵活快速的打包工具,帮助稳定高效构建现代 JavaScript 应用。
- Host: GitHub
- URL: https://github.com/ymfe/ykit
- Owner: YMFE
- License: apache-2.0
- Created: 2016-05-30T09:09:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:26:10.000Z (almost 2 years ago)
- Last Synced: 2024-12-10T22:00:50.828Z (13 days ago)
- Topics: build-tool, compiler, javascript, module-loader, webpack, ykit, ymfe
- Language: JavaScript
- Homepage: https://ykit.ymfe.org/
- Size: 4.67 MB
- Stars: 393
- Watchers: 27
- Forks: 56
- Open Issues: 28
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
# YKit [![CircleCI](https://circleci.com/gh/YMFE/ykit.svg?style=shield)](https://circleci.com/gh/YMFE/ykit)
YKit is a toolkit encapsulates and manages Webpack configuration for various types of web apps. It provides best practice through plugins and helps you create and customize apps through flexible config options.
## Features
- create project in one command
- support react/vue/ant-design/ts/... config plugins
- hot reloading dev server## Install
- Latest version: `[sudo] npm install ykit -g`
- Or you can choose the newest version:`[sudo] npm install ykit@next -g`## Quick Start
1. `mkdir ykit-app && cd ykit-app`
2. `ykit init`
3. `ykit s -p 3000`
4. Check out `http://127.0.0.1:3000/index.html`After setting up your project, there will be the config file called `ykit.js` in your project root directory:
```javascript
module.exports = {
plugins: [],
config: {
export: ['./scripts/index.js', './styles/index.css'],
modifyWebpackConfig: function (baseConfig) {
// edit webpack configs
return baseConfig;
}
},
hooks: {},
commands: []
};
```## Document
Visit [https://ykit.ymfe.org/][1] for more doc.
[1]: https://ykit.ymfe.org/