
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@kintone/webpack-plugin-kintone-plugin
Advanced tools
A webpack plugin to create a plugin zip of Kintone.
"use strict";
const path = require("path");
const KintonePlugin = require("@kintone/webpack-plugin-kintone-plugin");
module.exports = {
entry: {
desktop: "./src/desktop.js",
mobile: "./src/mobile.js",
},
output: {
path: path.resolve(__dirname, "plugin", "js"),
filename: "[name].js",
},
plugins: [
new KintonePlugin({
manifestJSONPath: "./plugin/manifest.json",
privateKeyPath: "./private.ppk",
pluginZipPath: "./dist/plugin.zip",
}),
],
};
The settings is the following structure.
src/desktop.js is an entry point of desktop javascript.src/mobild.js is an entry point of desktop javascript.plugin is the directory of the plugin, which includes manifest.json and other resources.private.ppk is the private key for the plugindist/plugin.zip is the plugin zip file.npm install @kintone/webpack-plugin-kintone-plugin
You can customize the paths of manifest.json, privateKey and plugin zip. Those default values are like the following.
manifestJSONPath: './manifest.json',
privateKeyPath: './private.ppk',
pluginZipPath: './dist/plugin.zip'
If you want to customize these values, you can update the values like this.
"use strict";
const path = require("path");
const KintonePlugin = require("@kintone/webpack-plugin-kintone-plugin");
module.exports = {
entry: {
desktop: "./src/desktop.js",
mobile: "./src/mobile.js",
},
output: {
path: path.resolve(__dirname, "plugin", "js"),
filename: "[name].js",
},
plugins: [
new KintonePlugin({
manifestJSONPath: "./plugin/manifest.json",
privateKeyPath: "./private.ppk",
pluginZipPath: "./dist/plugin.zip",
}),
],
};
In addition to that, you can specify the plugin zip name based on the plugin id and values of the manifest.json.
plugins: [
new KintonePlugin({
manifestJSONPath: "./plugin/manifest.json",
privateKeyPath: "./private.ppk",
pluginZipPath: (id, manifest) => `${id}.${manifest.version}.plugin.zip`,
}),
];
MIT License
FAQs
A webpack plugin to generate a plugin zip
The npm package @kintone/webpack-plugin-kintone-plugin receives a total of 384 weekly downloads. As such, @kintone/webpack-plugin-kintone-plugin popularity was classified as not popular.
We found that @kintone/webpack-plugin-kintone-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.