@devlop-ab/laravel-mix-manifest-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Latest Stable Version License

laravel

This will generate a Laravel Mix compatible manifest, this is convenient if you are not using Laravel Mix but still want to use the mix helper in Laravel.

Installing

using npm

npm install @devlop-ab/laravel-mix-manifest-webpack-plugin

Usage

// in webpack.config.js
const LaravelMixManifestWebpackPlugin = require('@devlop-ab/laravel-mix-manifest-webpack-plugin');

// then add to plugins array in config
module.exports = {
    plugins: [
        new LaravelMixManifestWebpackPlugin({
            // the path to the public root 
            public: path.resolve(__dirname, 'public'),
            // the name of the output file
            name: 'mix-manifest.json',
        }),
    ],
}

/@devlop-ab/laravel-mix-manifest-webpack-plugin/

    Package Sidebar

    Install

    npm i @devlop-ab/laravel-mix-manifest-webpack-plugin

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    7.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • johanrosenson