Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
|
*/
// npm run dev
mix.copy('node_modules/materialize-css/dist/js/materialize.js', 'resources/assets/js/materialize.js');
mix.copy('node_modules/materialize-css/dist/css/materialize.min.css', 'public/css/materialize.css');
mix.js([
'resources/assets/js/app.js',
'resources/assets/js/pxl.js',
'resources/assets/js/materialize.js',
], 'public/js');
mix.combine([
'resources/assets/js/login.js'
], 'public/js/login.js');
mix.js([
'resources/assets/js/gallery.js'
], 'public/js/gallery.js');
mix.sass('resources/assets/sass/app.scss', 'public/css');
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.version();
| file for the application as well as bundling up all the JS files.
|
*/
mix.webpackConfig({
output: {
publicPath: '/',
},
resolve:{
alias: {
'vue-router$': 'vue-router/dist/vue-router.common.js'
}
}
});
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.js('resources/assets/admin/admin.js', 'public/js')
.extract(['vue', 'axios', 'vue-router'])
.sass('resources/assets/admin/admin.scss', 'public/css');
if (mix.config.inProduction) {
mix.version();
}
/*
* This file is part of Kwek Metrics.
*/
const { mix } = require('laravel-mix');
mix.js('js/index.js', 'static/js')
.sass('css/style.scss', 'static/css');
if (mix == 'undefined') {
const { mix } = require("laravel-mix");
}
require("laravel-mix-merge-manifest");
if (mix.inProduction()) {
var publicPath = 'publishable/assets';
} else {
var publicPath = "../../../public/vendor/webkul/admin/assets";
}
mix.setPublicPath(publicPath).mergeManifest();
mix.disableNotifications();
mix.js(__dirname + "/src/Resources/assets/js/app.js", "js/admin.js")
.sass(__dirname + "/src/Resources/assets/sass/app.scss", "css/admin.css")
.options({
processCssUrls: false
});
if (! mix.inProduction()) {
mix.sourceMaps();
}
if (mix.inProduction()) {
mix.version();
}
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.copy('semantic/dist/semantic.min.css', 'public/css/semantic.min.css')
.copy('semantic/dist/semantic.min.js', 'public/js/semantic.min.js');
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.less('./less/app.less', 'dist/css/orchid.css');
mix.copy('./img/', 'dist/img');
mix.copy('./node_modules/bootstrap/dist/fonts/', 'dist/fonts');
mix.copy('./node_modules/font-awesome/fonts/', 'dist/fonts');
mix.copy('./node_modules/simple-line-icons/fonts/', 'dist/fonts');
mix.copy('./node_modules/summernote/dist/font/', 'dist/fonts');
mix.js([
'./js/app.js',
]
, 'dist/js/orchid.js');
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
mix.js('resources/assets/js/profile.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');