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

0.3.1 • 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',
        options: {
          dereference: false
        }
      },
      {
        test: /\.ya?ml$/,
        loader: 'yaml-loader'
      }
    ]
  }
};

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.10
0.3.00
0.2.39
0.2.21
0.2.11
0.1.61
0.1.51
0.1.41
0.1.31
0.1.21
0.1.11
0.1.01
0.0.01

Package Sidebar

Install

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

Weekly Downloads

17

Version

0.3.1

License

MIT

Unpacked Size

5.62 kB

Total Files

5

Last publish

Collaborators

  • airkro