diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-11 20:37:34 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-11 20:37:34 +0530 |
| commit | b604cb63c8b4a28e4c31708460463ea492cf696e (patch) | |
| tree | 9e91e8f032e61e19ad0662fb0d7ea1da987cc144 /config/webpack.config.js | |
| parent | cf38f96900bb11a5c795f9547319402d6a18b027 (diff) | |
| download | banglar-bhumi-utils-b604cb63c8b4a28e4c31708460463ea492cf696e.tar.gz banglar-bhumi-utils-b604cb63c8b4a28e4c31708460463ea492cf696e.zip | |
Using a seperate HTML file for the generating the PDF.
Putting the footer at the bottom of each page.
Diffstat (limited to 'config/webpack.config.js')
| -rw-r--r-- | config/webpack.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 31bbb8d..2ae6544 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -84,7 +84,7 @@ const commonOptions = { mode: "production", target: "web", resolve: { - extensions: [".ts", ".js"], + extensions: [".ts", ".js", ".html"], alias: { "@": global.SOURCE_DIR } @@ -97,6 +97,10 @@ const commonOptions = { options: { configFile: "config/tsconfig.json" } + }, + { + test: /\.html$/, + loader: path.resolve(CONFIG_DIR, "webpack/loader/to-string-loader.js") } ] }, |
