diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-24 19:23:33 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-24 19:23:33 -0500 |
| commit | ffa5ff333eabffe07394fb21bc413d7d238ee651 (patch) | |
| tree | 007b506aca746fda9040ea4f0ffa8d6578e86f7e /static/webpack.config.js | |
| parent | 09e9193b6be6e2eae7ffbfbfedd15ac22bab0022 (diff) | |
| download | immich-frame-ffa5ff333eabffe07394fb21bc413d7d238ee651.tar.xz immich-frame-ffa5ff333eabffe07394fb21bc413d7d238ee651.zip | |
move all files to /static
Diffstat (limited to 'static/webpack.config.js')
| -rw-r--r-- | static/webpack.config.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/static/webpack.config.js b/static/webpack.config.js new file mode 100644 index 0000000..6204e46 --- /dev/null +++ b/static/webpack.config.js @@ -0,0 +1,27 @@ +const path = require("path") + +module.exports = { + module: { + rules: [ + { + test: /\.css$/i, + use: [ + "style-loader", + "css-loader", + { + loader: "postcss-loader", + options: { postcssOptions: { plugins: [ require("@tailwindcss/postcss") ] } }, + }, + ], + }, + { + test: /\.svg$/, + loader: "svg-sprite-loader", + options: { + symbolId: filePath => "sprite-" + path.basename(filePath).replace(/_[0-9]+dp_.*/, ""), + }, + }, + ], + }, + mode: "development", +} |
