File: fwphp/glomodul/mkd/html2mkd/config/rollup.config.js

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/mkd/html2mkd/config/rollup.config.js  >  Download  
File: fwphp/glomodul/mkd/html2mkd/config/rollup.config.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 1 month ago
Size: 430 bytes
 

Contents

Class file image Download
import commonjs from 'rollup-plugin-commonjs'
import replace from 'rollup-plugin-replace'
import resolve from 'rollup-plugin-node-resolve'

export default function (config) {
  return {
    input: 'src/turndown.js',
    name: 'TurndownService',
    output: config.output,
    external: ['jsdom'],
    plugins: [
      commonjs(),
      replace({ 'process.browser': JSON.stringify(!!config.browser) }),
      resolve()
    ]
  }
}
For more information send a message to info at phpclasses dot org.