Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@deskeen/web-builder-inline-json

deskeen11MIT0.1.0

Web Builder Module - Inline JSON files

build, website, node.js, inline, json

readme

Web Builder Module - Inline JSON files

This module allows the @deskeen/web-builder engine to inline JSON files.

Install

npm install @deskeen/web-builder
npm install @deskeen/web-builder-inline-json

Usage

Add the module to the list of modules:

const builder = require('@deskeen/web-builder')
const builder.build([
  source: [
    // List of files or directories that include inlineSVG tags
    // {{inlineJSON:file.json}}
  ],
  modules: [
    [
      '@deskeen/web-builder-inline-json',
      {
        assets: [
          // List of directories that include the files
        ],
        minify: true, // Optional
      }
    ]
  ]
])

Contact

You can reach me at {myfirstname}@{myname}.fr

Licence

MIT Licence - Copyright (c) Morgan Schmiedt

changelog

v0.1.0 - 2020-09-04

  • Initial verion