summaryrefslogblamecommitdiff
path: root/assets/script/build.alcoolog.js
blob: fca8633840e46e21b2e28f798266f612dc01ac4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                              
const esbuild = require('esbuild');
const { stimulusPlugin } = require('esbuild-plugin-stimulus');

esbuild.build({
  entryPoints: ['alcoolog.js'],
  bundle: true,
  outfile: '../priv/static/assets/alcoolog.js',
  minify: true,
  sourcemap: false,
  plugins: [stimulusPlugin()],
}).catch(() => process.exit(1));