mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-10 11:32:23 +03:00
formatting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const { mix } = require('laravel-mix');
|
||||
|
||||
mix
|
||||
.setPublicPath('test/js/dist')
|
||||
.js('test/js/src/index.js', 'index.js')
|
||||
.sourceMaps();
|
||||
.setPublicPath('test/js/dist')
|
||||
.js('test/js/src/index.js', 'index.js')
|
||||
.sourceMaps();
|
||||
@@ -3,12 +3,12 @@ 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
|
||||
}
|
||||
});
|
||||
.setPublicPath('dist')
|
||||
.js('src/index.js', 'vue-context.js')
|
||||
.sourceMaps(! inProduction)
|
||||
.webpackConfig({
|
||||
output: {
|
||||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user