Skip to content
5 changes: 5 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ module.exports = function(grunt) {
'webpack-assets': webpackFiles.map( function( file ) {
return setFilePath( WORKING_DIR, file );
} ),
'interactivity-assets': [
WORKING_DIR + 'wp-includes/js/dist/interactivity.asset.php',
WORKING_DIR + 'wp-includes/js/dist/interactivity.min.asset.php',
],
dynamic: {
dot: true,
expand: true,
Expand Down Expand Up @@ -1458,6 +1462,7 @@ module.exports = function(grunt) {
'clean:webpack-assets',
'webpack:prod',
'webpack:dev',
'clean:interactivity-assets',
] );

grunt.registerTask( 'build:js', [
Expand Down
Loading