Skip to content

iconduit/webmanifest-loader

Repository files navigation

Web app manifest loader

A Webpack loader for .webmanifest files

Current NPM version Build status Test coverage

This loader processes web app manifest files, adding any images to the bundle and resolving their URLs in the output manifest file.

It supports:

Usage

// webpack.config.js
export default {
  // ...
  module: {
    rules: [
      {
        test: /\.(png|jpg|gif)$/i,
        type: "asset/resource",
      },
      {
        test: /(\.webmanifest|\/manifest\.json)$/i,
        type: "asset/resource",
        use: "@iconduit/webmanifest-loader",
      },
    ],
  },
};

About

A Webpack loader for .webmanifest files

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •