diff --git a/webpack.mix.js b/webpack.mix.js index 0af775ee..6533cebd 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -11,21 +11,26 @@ const mix = require('laravel-mix'); | */ -// mix.sourceMaps(false, "source-map") mix .js('resources/js/app.js', 'public/js') .vue({ version: 2 }) .extract([ - 'vue', - 'axios', - 'vue-axios', - 'vue-i18n', - 'vue-router', - 'v-clipboard', - 'vuedraggable' + 'vue', + 'axios', + 'vue-axios', + 'vue-i18n', + 'vue-router', + 'v-clipboard', + 'vuedraggable' ]) .sass('resources/sass/app.scss', 'public/css'); +// if (!mix.inProduction()) { +// mix.webpackConfig({ +// devtool: 'source-map', +// }).sourceMaps(); +// } + if (mix.inProduction()) { - mix.version() + mix.version() } \ No newline at end of file