New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-mix-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-mix-react

Alternate Laravel Mix webpack configuration for React projects

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

laravel-mix-react

Easy alternative Laravel Mix configuration for projects using React. Includes the babel loaders and Webpack configuration file you need to get started. (Please note that this is NOT a drop-in replacement for Laravel Mix -- you will still need to include the laravel-mix package along with this one!)

Installation

Run npm install --save-dev laravel-mix-react or yarn add --dev laravel-mix-react.

In your project's package.json, update all references to --config="node_modules/laravel-mix/setup/webpack.config.js" within the "scripts" to point to node_modules/laravel-mix-react/setup/webpack.config.js.

Advanced configuration

If you need to make further changes to Webpack, run cp node_modules/laravel-mix-react/setup/webpack.config.js ./ in your terminal. This will copy the modified webpack.config.js into the root of your project. Modify your config as needed, and then remove the --config="node_modules/laravel-mix-react/setup/webpack.config.js" lines from your package.json file.

FAQs

Package last updated on 29 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc