Replace md- and html-loader with raw-loader for react-native

This commit is contained in:
Keraito 2018-04-27 01:03:07 +02:00
parent 5cfd9a1284
commit bc833f9ac4
3 changed files with 3 additions and 18 deletions

View File

@ -52,11 +52,10 @@
"express": "^4.16.3",
"find-cache-dir": "^1.0.0",
"global": "^4.3.2",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"json5": "^1.0.1",
"markdown-loader": "^2.0.2",
"prop-types": "^15.6.1",
"raw-loader": "^0.5.1",
"react-native-compat": "^1.0.0",
"react-native-iphone-x-helper": "^1.0.2",
"shelljs": "^0.8.1",

View File

@ -46,14 +46,7 @@ const getConfig = options => ({
},
{
test: /\.md$/,
use: [
{
loader: require.resolve('html-loader'),
},
{
loader: require.resolve('markdown-loader'),
},
],
loader: require.resolve('raw-loader'),
},
],
},

View File

@ -50,14 +50,7 @@ const getConfig = options => {
},
{
test: /\.md$/,
use: [
{
loader: require.resolve('html-loader'),
},
{
loader: require.resolve('markdown-loader'),
},
],
loader: require.resolve('raw-loader'),
},
],
},