A suite of build tools for providing dev ENV to JIKE, which is a formula = JK-* + IMPL + ENV. There is a list that explains what the factors stand for:
JK-*- Basic, common and independent libraries/components, you would find them via filter
IMPL- An implentation of a special BLL requirement. Generally, the name prefix of IMPL projects is
ENV- Nowadays, frondend projects must use build-structure to compile source files. But Webpack is suck, our code should be esay to run. Highly customizable build system will take days and days when initializing a project. So we need a unified and config-less build suite in dev environment.
$ npm i --save-dev jk-build-suite
# Start a dev server, via Webpack Dev Server$ jkbs start --config webpack.config.js# Build source for production, via Webpack$ NODE_ENV=production jkbs build --config webpack.config.js# Upload static files to CDN, via Gulp$ jkbs deploy 'dist/static/**' --output build-suite
module.exports = mergeWebpackConfigbaseConfig,instanceConfig
The template is pithy, see the
test/config directory for more complicated configurations.
- Template: HTML, EJS, Pug
- Style: CSS, Stylus