homegrade_blocks_production/webpack.config.js

11 lines
322 B
JavaScript

const defaultConfig = require("@wordpress/scripts/config/webpack.config");
const path = require("path");
module.exports = {
...defaultConfig,
entry: {
index: path.resolve(process.cwd(), "src/", "index.js"),
tooltipFront: path.resolve(process.cwd(), "src/format-types/tooltip", "tooltip-front.js"),
},
};