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:
@@ -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
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user