0.1.0 • Published 4 years ago

@deskeen/web-builder-inline-json v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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 {my_firstname}@{my_name}.fr

Licence

MIT Licence - Copyright (c) Morgan Schmiedt