| .. | |||||
| build | |||||
| src | |||||
| modal.php | |||||
| webpack.config.js |
const defaultConfig = require("@wordpress/scripts/config/webpack.config");
module.exports = {
...defaultConfig,
output: {
...defaultConfig.output,
filename: '[name].[contenthash].js',
chunkFilename: '[name].[contenthash].js',
}
};| .. | |||||
| build | |||||
| src | |||||
| modal.php | |||||
| webpack.config.js |