0.3.0 • Published 9 months ago

@iconduit/webmanifest-loader v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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",
      },
    ],
  },
};
0.3.0

9 months ago

0.2.0

9 months ago

0.1.0

9 months ago