aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-23 16:19:45 -0500
committerAndrew Kim <andrewdkim@users.noreply.github.com>2019-02-23 16:19:45 -0500
commit07f5e56508c362725db003736a0f7980cd72107d (patch)
tree697242d7468203c46a5847cef2d24bd0d4001968 /webpack.config.js
parent5b55e1b6081393989ca35d2964da9604c2a93802 (diff)
PDFNode
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 1a7c9286e..b630b2a49 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -39,6 +39,14 @@ module.exports = {
]
},
{
+ test: /\.(jpg|png|pdf)$/,
+ use: [
+ {
+ loader: 'file-loader'
+ }
+ ]
+ },
+ {
test: /\.(png|jpg|gif)$/i,
use: [
{
@@ -57,7 +65,7 @@ module.exports = {
compress: false,
host: "localhost",
contentBase: path.join(__dirname, 'deploy'),
- port: 1050,
+ port: 1234,
hot: true,
https: false,
overlay: {