codemutate

0.2.4 • Public • Published
const { build } = require('./build')
const { insert } = require('./service/insert')

build({
  env: 'dev',
  keyMutation: {},
  rollup: {
    shell: {
      inputOptions: {
        input: '.editEnv/collect/shell.js',
      },
      outputOptions: {
        format: 'iife',
        file: '.bundle/shell.js',
        name: 'bd',
      },
    },
    dynamic: {
      inputOptions: {
        input: '.editEnv/collect/dynamic.js',
      },
      outputOptions: {
        format: 'iife',
        file: '.bundle/dynamic.js',
        name: 'bd_d',
      },
    },
  },
  afterRollupPlugins: [insert],
})

Readme

Keywords

none

Package Sidebar

Install

npm i codemutate

Weekly Downloads

5

Version

0.2.4

License

ISC

Unpacked Size

121 kB

Total Files

15

Last publish

Collaborators

  • elona2011