We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have :
rm -rf node_modules && npm install
package.json
Trying to merge web configuration using the example:
mix.webpackConfig({ resolve: { modules: [ path.resolve(__dirname, 'vendor/laravel/spark/resources/assets/js') ] } });
Running npm run dev will get me an error of:
npm run dev
path.resolve(__dirname, 'vendor/laravel/spark/resources/assets/js') ^ ReferenceError: path is not defined
The text was updated successfully, but these errors were encountered:
Add
var path = require('path');
to the top of your webpack.mix.js file.
webpack.mix.js
Sorry, something went wrong.
Update aliases.md to include need to define path
dee600f
As noted in issue laravel-mix#503, it might behelpful to include the need to define the path more explicitly in the documentation laravel-mix#503
No branches or pull requests
I have :
rm -rf node_modules && npm install
.package.json
file, and ensure that there are no old Laravel Elixir dependencies that might be interfering with Mix.Description:
Trying to merge web configuration using the example:
Running
npm run dev
will get me an error of:The text was updated successfully, but these errors were encountered: