noahphillips's avatar

webpack paths are causing errors

I have the following paths set in my gulpfile

`var elixir = require('laravel-elixir');

elixir((mix) => {

mix .sass([ 'sass/app.scss' ], 'css/compiled.css', './')

.webpack('./js/app.js', './js/compiled.js')

.copy('./images', '../../pages/images')

.browserSync({ proxy: 'le-grav-test.dev', notify: false })

});`

and get the following errors

[12:11:54] Starting 'webpack'... { [Error: ./js/app.js Module build failed: Error at Node.initialise ... ... ..... showStack: false, showProperties: true, plugin: 'webpack-stream', __safety: { toString: [Function: bound ] } }

I've also tried `.webpack('app.js', './js/compiled.js', './') .webpack('js/app.js', './js/compiled.js', './)

and get the exact same error

0 likes
0 replies

Please or to participate in this conversation.