1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00

11 lines
293 B
JavaScript

const path = require('path');
const serve = require('webpack-serve');
const config = require('./webpack.doc.dev');
const { exec } = require('child_process');
const gulpConfig = path.resolve(__dirname, './compiler.js');
serve({}, { config });
exec(`npx gulp -f ${gulpConfig} buildExample`);