mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-23 19:40:32 +03:00
formatting
This commit is contained in:
@@ -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();
|
||||||
@@ -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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user