1.7.2 • Published 5 years ago
@mixup/mix v1.7.2
mix
更易上手的前端构建工具,基于 webpack
Installation
npm i @mixup/mix -D
Usage
mix.conf.js
var mix = require('@mixup/mix')
mix.set({
entry: './src/index.js',
dist: './dist',
template: './index.tpl',
hash: true,
extractCSS: true,
devServer: { port: 8080 }
})
module.exports = mix.resolve()
# development
node_modules/.bin/mix watch
# production
node_modules/.bin/mix build -p
# or use webpack
NODE_ENV=production webpack --config mix.conf.js
1.7.2
5 years ago
1.7.1
5 years ago
1.7.0
5 years ago
1.6.0
5 years ago
1.5.22
5 years ago
1.5.21
5 years ago
1.5.20
5 years ago
1.5.19
5 years ago
1.5.18
5 years ago
1.5.17
5 years ago
1.5.16
5 years ago
1.5.15
5 years ago
1.5.14
5 years ago
1.5.13
5 years ago
1.5.11
5 years ago
1.5.10
5 years ago
1.5.9
5 years ago
1.5.8
5 years ago
1.5.7
5 years ago
1.5.6
5 years ago