1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/plugin-repo-cli/webpack.config.js
2021-12-21 12:38:05 +01:00

21 lines
356 B
JavaScript

const path = require('path');
const webpack = require('webpack');
const distDir = path.resolve(__dirname, 'dist');
module.exports = {
entry: './index.js',
mode: 'production',
target: 'node',
output: {
filename: 'index.js',
path: distDir,
},
plugins: [
new webpack.BannerPlugin({
banner: '#!/usr/bin/env node\n',
raw: true,
}),
],
};