@best-shot/json-schema-ref-loader

0.2.3 • Public • Published

@best-shot/json-schema-ref-loader

json-schema-ref-parser for webpack.

npm github node

Installation

npm install @best-shot/json-schema-ref-loader --save-dev

Usage

// example: webpack.config.cjs
module.exports = {
  module: {
    rules: [
      {
        test: /\.(ya?ml|json)$/,
        type: 'asset/resource',
        loader: '@best-shot/json-schema-ref-loader'
      },
      {
        test: /\.ya?ml$/,
        loader: 'yaml-loader'
      }
    ]
  }
};

Package Sidebar

Install

npm i @best-shot/json-schema-ref-loader

Weekly Downloads

119

Version

0.2.3

License

MIT

Unpacked Size

6.15 kB

Total Files

5

Last publish

Collaborators

  • airkro