Problem with webpack and modules availability

Hi, I have a problem importing npm modules and then using it on my code. Some of them return, for example, "ReferenceError: Chart is not defin...
02

Anyone know how to set up laravel mix and browsersync to utilize subdomains?

I have a project where we have a section like admin.site.com, and I've been trying to figure out how to get laravel mix and browsersync to let me d...
00

How to use the .scss files of a Template I bought? // Laravel Mix

Hi everyone, I bought a template on TemplateMonster and I have a sass resources folder with all the scss files of the design. I wanted to be...
03

Can I copy a Sass folder from node_modules and edit it?

I've been looking around at the node-modules folder and I found out that I actually have the bootstrap Sass files on there. Can I setup mix...
01

Running mix.version() inside Gulp Task

I am running a gulp task to copy all files with a .tpl.html recursively within a particular folder to the public folder. These html files will be u...
02

[5.4] npm run watch not working

Using 5.4 and mix, when I run npm run watch it compiles once and looks like it is waiting for changes, but when I make changes to any...
22

Laravel-Mix sourcemap files not genarates

Hi every one! This is my config file const { mix } = require('laravel-mix'); const webpack = require('webpack'); const ImageminPlugi...
11

Async await in vue component compiling with Laravel Mix

Hi everyone. I've written the following methods in a .vue component utilising async/await on an axios post request call. However, when runni...
03

Laravel Mix + Stylus + TailwindCss

Hey everybody. How are you? I'm getting some weird behavior when I try to compile Stylus stylesheet using Laravel Mix and Tailwind Css....
01

Running production build process yields errors with UglifyJS

I've been trying to solve this for quite some time going back and forth between different Git Issues and forum posts trying all solutions to no ava...
00

TypeError: require.extensions.hasOwnProperty is not a function

When I try to launch "gulp watch" in my console: ​```/Users/amldesign/Documents/Kitematic/afiliados/var/www/afiliados/node_modules/lara...
01

File to import not found or unreadable

I've looked around and found a few solutions to this, but none match what I need. { Error: resources/assets/sass/app.scss Error: Fil...
01

BrowserSync not refreshing

For some reason I can't get BrowserSync to refresh when I update my files. Upon running gulp watch the connection gets initialised so...
09

node_modules as a symlink, webpack fails (Cannot find module webpack.mix) in Laravel 5.4

Hi there, I'm using Laravel 5.4.15 and my node_modules folder is outside project root. I have trouble migrating from elixir to mix. The phys...
06

Laravel Mix: Prevent Moment.js locales

I'm using Chart.js, and webpack is complaining that the js file is too large. I stumbled upon this topic on SO:...
05

use jquery-ui with webpack?

i'm still struggling to understand webpack and laravel mix. i'm trying to use jqueryui but every time i try, i get the following error...
22

$(…).DataTable is not a function when using Laravel Mix

Hi everyone I struggle using Laravel Mix and DataTables. The issue I have is that when I compile down my .js-files etc., each time I would t...
03

require.extensions.hasOwnProperty is not a function

I have just updated my node installation and now every time I run gulpI get require.extensions.hasOwnProperty is not a function...
05

Problem with purifyCss

Hello there guys, im trying make purifycss work without success for some reason.Here the code mix.styles('website/assets/css/test.cs...
00