Sha256: bc21cef4a1015613c5f6b0faaf11fdfc30ee1b65ac60b93ba5da60106c40f9b3

Contents?: true

Size: 294 Bytes

Versions: 17

Compression:

Stored size: 294 Bytes

Contents

const esbuild = require('esbuild')
const watch = process.argv.includes('-w')

esbuild.build({
  entryPoints: ['src/js/headmin.js'],
  outfile: 'app/assets/javascripts/headmin.js',
  bundle: true,
  allowOverwrite: true,
  format: 'esm',
  watch: watch
}).catch((e) => console.error(e.message))

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
headmin-0.6.3 esbuild-js.js
headmin-0.6.2 esbuild-js.js
headmin-0.6.1 esbuild-js.js
headmin-0.6.0 esbuild-js.js
headmin-0.5.9 esbuild-js.js
headmin-0.5.8 esbuild-js.js
headmin-0.5.7 esbuild-js.js
headmin-0.5.6 esbuild-js.js
headmin-0.5.5 esbuild-js.js
headmin-0.5.4 esbuild-js.js
headmin-0.5.3 esbuild-js.js
headmin-0.5.2 esbuild-js.js
headmin-0.5.1 esbuild-js.js
headmin-0.5.0 esbuild-js.js
headmin-0.4.2 esbuild-js.js
headmin-0.4.1 esbuild-js.js
headmin-0.4.0 esbuild-js.js