diff --git a/examples/open-target-multiple/webpack.config.js b/examples/open-target-multiple/webpack.config.js index 24513c2ff9..6f3de30cb6 100644 --- a/examples/open-target-multiple/webpack.config.js +++ b/examples/open-target-multiple/webpack.config.js @@ -15,12 +15,12 @@ module.exports = [ plugins: [ new HtmlWebpackPlugin({ filename: "example1.html", - template: "../../.assets/layout.html", + template: "../.assets/layout.html", title: "Open Target (Multiple) / Example / Page 1", }), ], }), - { + setup({ context: __dirname, entry: "./app2.js", output: { @@ -29,9 +29,9 @@ module.exports = [ plugins: [ new HtmlWebpackPlugin({ filename: "example2.html", - template: "../../.assets/layout.html", + template: "../.assets/layout.html", title: "Open Target (Multiple) / Example / Page 2", }), ], - }, + }), ]; diff --git a/examples/open-target/webpack.config.js b/examples/open-target/webpack.config.js index 7fc07c6821..18c9b29139 100644 --- a/examples/open-target/webpack.config.js +++ b/examples/open-target/webpack.config.js @@ -11,7 +11,7 @@ module.exports = setup({ plugins: [ new HtmlWebpackPlugin({ filename: "example.html", - template: "../../.assets/layout.html", + template: "../.assets/layout.html", title: "Open Target / Example", }), ],