2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-07 15:22:24 +03:00
Files
vue-context/docs-build/webpack.mix.js
T
rawilk b7760ae2d5 wip
2020-08-30 21:20:31 -05:00

13 lines
470 B
JavaScript

const mix = require('laravel-mix');
const fs = require('fs');
// Cleanup the old scripts, since we'll be re-hashing them.
fs.rmdirSync(__dirname + '/../docs/scripts', { recursive: true });
mix
.js('js/index.js', 'dist/vue-context-demos.js')
.js('js/advanced/index.js', 'dist/vue-context-advanced-demos.js')
.copy('dist/vue-context-demos.js', __dirname + '/../docs/scripts')
.copy('dist/vue-context-advanced-demos.js', __dirname + '/../docs/scripts');