9 lines
448 B
JavaScript
9 lines
448 B
JavaScript
|
let mix = require('laravel-mix');
|
||
|
let execSync = require('child_process').execSync;
|
||
|
|
||
|
mix.js(`${__dirname}/Resources/assets/admin/js/main.js`, `${__dirname}/Assets/admin/js/slider.js`)
|
||
|
.sass(`${__dirname}/Resources/assets/admin/sass/main.scss`, `${__dirname}/Assets/admin/css/slider.css`)
|
||
|
.then(() => {
|
||
|
execSync(`npm run rtlcss ${__dirname}/Assets/admin/css/slider.css ${__dirname}/Assets/admin/css/slider.rtl.css`);
|
||
|
});
|