Replace md- and html-loader with raw-loader for polymer

This commit is contained in:
Keraito 2018-04-27 01:23:57 +02:00
parent d7c8fa7c71
commit 9740215349
3 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,7 @@
"dotenv-webpack": "^1.5.5",
"global": "^4.3.2",
"html-webpack-plugin": "^3.2.0",
"raw-loader": "^0.5.1",
"webpack": "^4.6.0",
"webpack-hot-middleware": "^2.22.1"
},

View File

@ -84,6 +84,10 @@ export default function(configDir) {
},
],
},
{
test: /\.md$/,
loader: require.resolve('raw-loader'),
},
],
},
resolve: {

View File

@ -79,6 +79,10 @@ export default function(configDir) {
},
],
},
{
test: /\.md$/,
loader: require.resolve('raw-loader'),
},
],
},
resolve: {