PHP Classes

File: Modules/Service/webpack.mix.js

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   Modules/Service/webpack.mix.js   Download  
File: Modules/Service/webpack.mix.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 2 years ago
Size: 449 bytes
 

Contents

Class file image Download
const dotenvExpand = require('dotenv-expand'); dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/})); const mix = require('laravel-mix'); require('laravel-mix-merge-manifest'); mix.setPublicPath('../../public').mergeManifest(); mix.js(__dirname + '/Resources/assets/js/app.js', 'js/service.js') .sass( __dirname + '/Resources/assets/sass/app.scss', 'css/service.css'); if (mix.inProduction()) { mix.version(); }