2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-22 07:20:32 +03:00

Code restructure (#1)

This commit is contained in:
Randall Wilk
2018-05-26 11:43:23 -05:00
committed by GitHub
parent a521b025c2
commit 3116d06d77
17 changed files with 14548 additions and 245 deletions
+14
View File
@@ -0,0 +1,14 @@
const { mix } = require('laravel-mix');
const inProduction = mix.inProduction();
mix
.setPublicPath('dist')
.js('src/index.js', 'vue-context.js')
.sourceMaps(! inProduction)
.webpackConfig({
output: {
libraryTarget: 'umd',
umdNamedDefine: true
}
});