Skip to content

Commit

Permalink
Merge pull request #15 from picocss/ll/v2
Browse files Browse the repository at this point in the history
fix: Pico v2 React example
  • Loading branch information
lucaslarroche authored Jan 7, 2024
2 parents 75c1299 + a9b669f commit a7a973c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions v2-react/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CopyWebpackPlugin = require('copy-webpack-plugin');
const CopyWebpackPlugin = require("copy-webpack-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const path = require("path");

Expand Down Expand Up @@ -32,11 +32,11 @@ module.exports = {
}),
new CopyWebpackPlugin({
patterns: [
{
from: 'public',
to: '',
{
from: "public",
to: "",
globOptions: {
ignore: ['**/*.html'],
ignore: ["**/*.html"],
},
},
],
Expand All @@ -46,6 +46,7 @@ module.exports = {
static: {
directory: path.join(__dirname, "dist"),
},
allowedHosts: "all",
hot: true,
open: true,
},
Expand Down

0 comments on commit a7a973c

Please sign in to comment.