aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2022-03-25 17:55:28 +0100
committergabrielgio <gabriel.giovanini@pm.me>2022-03-25 17:55:28 +0100
commited203f99dd8625d5c601e6f0b1bedfdc181517dd (patch)
tree185f1a38c8b6bb4aff79131e95656742f22dc084 /www
parent0bef00b83e965aa350df1cd6a16c6ac39c388d93 (diff)
downloadgenpass-ed203f99dd8625d5c601e6f0b1bedfdc181517dd.tar.gz
genpass-ed203f99dd8625d5c601e6f0b1bedfdc181517dd.tar.bz2
genpass-ed203f99dd8625d5c601e6f0b1bedfdc181517dd.zip
ref: Pack bulman.css
Add `bulma.min.css` file to be copied when bundling `www` project.
Diffstat (limited to 'www')
-rw-r--r--www/bulma.min.css (renamed from www/assets/bulma.min.css)0
-rw-r--r--www/index.html2
-rw-r--r--www/webpack.config.js18
3 files changed, 10 insertions, 10 deletions
diff --git a/www/assets/bulma.min.css b/www/bulma.min.css
index be16f72..be16f72 100644
--- a/www/assets/bulma.min.css
+++ b/www/bulma.min.css
diff --git a/www/index.html b/www/index.html
index fe4ac5f..2910ad5 100644
--- a/www/index.html
+++ b/www/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link type="text/css" rel="stylesheet" href="assets/bulma.min.css">
+ <link type="text/css" rel="stylesheet" href="/bulma.min.css">
<title>Password generator</title>
</head>
<body>
diff --git a/www/webpack.config.js b/www/webpack.config.js
index 80ad814..6d82e1f 100644
--- a/www/webpack.config.js
+++ b/www/webpack.config.js
@@ -2,13 +2,13 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
const path = require('path');
module.exports = {
- entry: "./bootstrap.js",
- output: {
- path: path.resolve(__dirname, "dist"),
- filename: "bootstrap.js",
- },
- mode: "development",
- plugins: [
- new CopyWebpackPlugin(['index.html'])
- ],
+ entry: "./bootstrap.js",
+ output: {
+ path: path.resolve(__dirname, "dist"),
+ filename: "bootstrap.js",
+ },
+ mode: "development",
+ plugins: [
+ new CopyWebpackPlugin(['index.html', 'bulma.min.css'])
+ ],
};