Commit 03b6e276 authored by ariasuni's avatar ariasuni
Browse files

Update dependencies

parent b554ceb6
......@@ -19,20 +19,24 @@ module.exports = (env, argv) => {
filename: "[name]/[name].js",
},
plugins: [
new CopyPlugin([
{
from: "node_modules/photon-colors/photon-colors.css",
to: "sidebar/",
},
{
from: "**",
to: ".",
context: "src/",
ignore: ["*.js"],
transform: (content, path) =>
argv.mode === "production" ? minify(content, path) : content,
},
]),
new CopyPlugin({
patterns: [
{
from: "node_modules/photon-colors/photon-colors.css",
to: "sidebar/",
},
{
from: "**",
to: ".",
context: "src/",
globOptions: {
ignore: ["*.js"],
},
transform: (content, path) =>
argv.mode === "production" ? minify(content, path) : content,
},
],
}),
],
};
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment