You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-03 23:50:33 +02:00
Plugin Repo: Simplify publishing script
This commit is contained in:
20
packages/plugin-repo-cli/webpack.config.js
Normal file
20
packages/plugin-repo-cli/webpack.config.js
Normal file
@ -0,0 +1,20 @@
|
||||
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,
|
||||
}),
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user