webpack.mix.js 449 B

1234567891011121314
  1. const dotenvExpand = require('dotenv-expand');
  2. dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/}));
  3. const mix = require('laravel-mix');
  4. require('laravel-mix-merge-manifest');
  5. mix.setPublicPath('../../public').mergeManifest();
  6. mix.js(__dirname + '/Resources/assets/js/app.js', 'js/finance.js')
  7. .sass( __dirname + '/Resources/assets/sass/app.scss', 'css/finance.css');
  8. if (mix.inProduction()) {
  9. mix.version();
  10. }