2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-23 17:20:33 +03:00

formatting

This commit is contained in:
Randall Wilk
2018-05-30 12:39:07 -05:00
parent 7bc40333d3
commit ff6a8f7a11
2 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
const { mix } = require('laravel-mix'); const { mix } = require('laravel-mix');
mix mix
.setPublicPath('test/js/dist') .setPublicPath('test/js/dist')
.js('test/js/src/index.js', 'index.js') .js('test/js/src/index.js', 'index.js')
.sourceMaps(); .sourceMaps();
+9 -9
View File
@@ -3,12 +3,12 @@ const { mix } = require('laravel-mix');
const inProduction = mix.inProduction(); const inProduction = mix.inProduction();
mix mix
.setPublicPath('dist') .setPublicPath('dist')
.js('src/index.js', 'vue-context.js') .js('src/index.js', 'vue-context.js')
.sourceMaps(! inProduction) .sourceMaps(! inProduction)
.webpackConfig({ .webpackConfig({
output: { output: {
libraryTarget: 'umd', libraryTarget: 'umd',
umdNamedDefine: true umdNamedDefine: true
} }
}); });