Skip to content

Commit

Permalink
Fix grunt build error
Browse files Browse the repository at this point in the history
  • Loading branch information
igorschoester committed Mar 10, 2021
1 parent 4c3e5c4 commit 4f60468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/webpack/externals.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const wordpressPackages = [
/**
* Yoast dependencies, declared as such in the package.json.
*/
const { dependencies } = require( "../../package" );
const { dependencies } = require( "../../packages/js/package" );
const legacyYoastPackages = [ "yoast-components" ];

const YOAST_PACKAGE_NAMESPACE = "@yoast/";
Expand Down
2 changes: 1 addition & 1 deletion config/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module.exports = function( env ) {
},
output: {
path: path.resolve(),
filename: "js/dist/yoast/[name]-" + pluginVersionSlug + ".js",
filename: "packages/js/dist/yoast/[name]-" + pluginVersionSlug + ".js",
jsonpFunction: "yoastWebpackJsonp",
},
externals: {
Expand Down

0 comments on commit 4f60468

Please sign in to comment.