فهرست منبع

Add .html to webpack.hot resolve extensions

David Kaltschmidt 7 سال پیش
والد
کامیت
56fc82151b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      scripts/webpack/webpack.hot.js

+ 1 - 1
scripts/webpack/webpack.hot.js

@@ -23,7 +23,7 @@ module.exports = merge(common, {
   },
 
   resolve: {
-    extensions: ['.scss', '.ts', '.tsx', '.es6', '.js', '.json', '.svg', '.woff2', '.png'],
+    extensions: ['.scss', '.ts', '.tsx', '.es6', '.js', '.json', '.svg', '.woff2', '.png', '.html'],
   },
 
   devtool: 'eval-source-map',