carhop__plugins__PROD-DEV/plugins/carhop-blocks/webpack.config.js

12 lines
337 B
JavaScript

// Import the original config from the @wordpress/scripts package.
const defaultConfig = require("@wordpress/scripts/config/webpack.config");
// Add any a new entry point by extending the webpack config.
module.exports = {
...defaultConfig,
entry: {
...defaultConfig.entry(),
variations: "./src/core-variants/variants.js",
},
};