webpack-play-manifest

0.1.8 • Public • Published

webpack-play-manifest

Usage

npm install --save-dev webpack-play-manifest

Add the plugin to webpack.config.js:

const WebpackPlayManifest = require('webpack-play-manifest');

module.exports = {
    entry: {
        'app': './index.js'
    },
    output: {
        filename: '[name].bundle.js',
        publicPath: '/assets/'
    },
    plugins: [
        new WebpackPlayManifest()
    ]
}

Output

{
  "assets": {      
    "index.js": {
      "digest": "f5bbdff89368d5746038b869e5aa9bac",
      "path": "index.bundle.js"
    }
  },
  "entryPoints": {        
    "app": {
      "files": [
        "index.bundle.js"
      ]
    }
  },
  "publicPath": "/assets/",
  "version": 1
}

Package Sidebar

Install

npm i webpack-play-manifest

Weekly Downloads

0

Version

0.1.8

License

Apache-2.0

Unpacked Size

33 kB

Total Files

35

Last publish

Collaborators

  • maichler